summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorZijun Hu <quic_zijuhu@quicinc.com>2025-01-09 21:27:04 +0800
committerRob Herring (Arm) <robh@kernel.org>2025-01-13 17:47:29 -0600
commitde7323f6fc10f36307895ce604585a539d1cc89a (patch)
treeb1dfadc8d7e3d00de10cbcbc4d310e040677e520 /tools/perf/scripts/python/export-to-sqlite.py
parentab7eeb7b43b0c3887c9811f34d157dec6343c8e4 (diff)
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions