diff options
| author | Christophe JAILLET <[email protected]> | 2021-02-20 15:29:53 +0100 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2021-03-30 11:41:59 +0200 |
| commit | e29c84857e2d51aa017ce04284b962742fb97d9e (patch) | |
| tree | 240135c65f260e10c91be01983b1d50f5b4529a0 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | b03aec1c1f337dfdae44cdb0645ecac34208ae0a (diff) | |
mmc: uniphier-sd: Fix a resource leak in the remove function
A 'tmio_mmc_host_free()' call is missing in the remove function, in order
to balance a 'tmio_mmc_host_alloc()' call in the probe.
This is done in the error handling path of the probe, but not in the remove
function.
Add the missing call.
Fixes: 3fd784f745dd ("mmc: uniphier-sd: add UniPhier SD/eMMC controller driver")
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Masahiro Yamada <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions