aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2024-10-29 14:17:49 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2024-10-30 12:02:15 +0100
commit88df25ad0c5afbafe42fab023fc9b0e688f4b4e1 (patch)
treee7cd726177af408384d78cd6ff7742e8506c4d0a /scripts/gcc-plugins/cyc_complexity_plugin.c
parent7acbd2da48faee6ff856b2322c799d5c7b144d52 (diff)
downloadlinux-88df25ad0c5afbafe42fab023fc9b0e688f4b4e1.tar.gz
linux-88df25ad0c5afbafe42fab023fc9b0e688f4b4e1.tar.bz2
linux-88df25ad0c5afbafe42fab023fc9b0e688f4b4e1.zip
mmc: core: Fix error paths for UHS-II card init and re-init
The error path didn't manage the removal of the allocated mmc_card correctly. Let's fix this to avoid potential memory leaks. While at it, move the assignment of host->card to slightly later in the init process and drop also a somewhat silly dev_warn() when CMD8 fails. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Adrian Hunter <adrian.hunter@intel.com> Message-ID: <20241029131752.226764-4-ulf.hansson@linaro.org>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions