diff options
author | Zijun Hu <quic_zijuhu@quicinc.com> | 2025-01-09 16:27:04 +0300 |
---|---|---|
committer | Rob Herring (Arm) <robh@kernel.org> | 2025-01-14 02:47:29 +0300 |
commit | de7323f6fc10f36307895ce604585a539d1cc89a (patch) | |
tree | b1dfadc8d7e3d00de10cbcbc4d310e040677e520 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ab7eeb7b43b0c3887c9811f34d157dec6343c8e4 (diff) | |
download | linux-de7323f6fc10f36307895ce604585a539d1cc89a.tar.xz |
of/fdt: Check fdt_get_mem_rsv() error in early_init_fdt_scan_reserved_mem()
early_init_fdt_scan_reserved_mem() invoks fdt_get_mem_rsv(), and it will
use uninitialized variables @base and @size once the callee suffers error.
Fix by checking fdt_get_mem_rsv() error as other callers do.
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20250109-of_core_fix-v4-13-db8a72415b8c@quicinc.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions