mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 05:33:09 +00:00
2fbabea626
In cases where mapping of mpmu/apmu/apbc registers fails, the code path does not handle the failure gracefully, potentially leading to a memory leak. This fix ensures proper cleanup by freeing the allocated memory for 'pxa_unit' before returning. Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com> Link: https://lore.kernel.org/r/20231210175232.3414584-1-visitorckw@gmail.com Signed-off-by: Stephen Boyd <sboyd@kernel.org> |
||
---|---|---|
.. | ||
clk-apbc.c | ||
clk-apmu.c | ||
clk-audio.c | ||
clk-frac.c | ||
clk-gate.c | ||
clk-mix.c | ||
clk-of-mmp2.c | ||
clk-of-pxa168.c | ||
clk-of-pxa910.c | ||
clk-of-pxa1928.c | ||
clk-pll.c | ||
clk.c | ||
clk.h | ||
Makefile | ||
pwr-island.c | ||
reset.c | ||
reset.h |