mirror of
https://github.com/torvalds/linux.git
synced 2025-11-02 17:49:03 +02:00
"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 | ||