mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
8030aa3ce1
"ARM: 9192/1: amba: fix memory leak in amba_device_try_add()" leads
to a refcount underflow if amba_device_add() fails, which called by
of_amba_device_create(), the of_amba_device_create() already exists
the error handling, so amba_put_device() only need to be added into
amba_deferred_retry().
Fixes:
|
||
---|---|---|
.. | ||
bus.c | ||
Kconfig | ||
Makefile | ||
tegra-ahb.c |