linux/drivers/opp
Abdun Nihaal 69f888381d OPP: of: Fix potential memory leak in opp_parse_supplies()
The memory allocated for microvolt, microamp and microwatt is not freed
in one of the paths in opp_parse_supplies() which returns directly.
Fix that by adding a goto to the error unwind ladder.

Fixes: 2eedf62e66 ("OPP: decouple dt properties in opp_parse_supplies()")
Cc: stable@vger.kernel.org
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
2026-05-20 13:23:37 +05:30
..
core.c OPP: Fix race between OPP addition and lookup 2026-05-07 08:54:10 +05:30
cpu.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
debugfs.c OPP: debugfs: Use performance level if available to distinguish between rates 2026-02-23 10:25:46 +05:30
Kconfig drivers/opp: Remove "select SRCU" 2023-01-05 11:47:21 +05:30
Makefile
of.c OPP: of: Fix potential memory leak in opp_parse_supplies() 2026-05-20 13:23:37 +05:30
opp.h OPP: Remove _get_opp_table_kref() 2025-04-24 16:05:33 +05:30
ti-opp-supply.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00