aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2024-10-29 14:17:49 +0100
committerUlf Hansson <[email protected]>2024-10-30 12:02:15 +0100
commit88df25ad0c5afbafe42fab023fc9b0e688f4b4e1 (patch)
treee7cd726177af408384d78cd6ff7742e8506c4d0a /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent7acbd2da48faee6ff856b2322c799d5c7b144d52 (diff)
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 <[email protected]> Reviewed-by: Adrian Hunter <[email protected]> Message-ID: <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions