summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorZijun Hu <quic_zijuhu@quicinc.com>2024-12-09 16:25:00 +0300
committerRob Herring (Arm) <robh@kernel.org>2024-12-10 19:50:26 +0300
commit3a973ce1b9180a5263924fbcebf8ad7572cca1fc (patch)
tree74a977266a542241cd6217834cf0702c3540cd6d /tools/perf/scripts/python/export-to-postgresql.py
parent4bc244f6817daa2a05b97e4d063daa0854b5ccd6 (diff)
downloadlinux-3a973ce1b9180a5263924fbcebf8ad7572cca1fc.tar.xz
of/irq: Correct element count for array @dummy_imask in API of_irq_parse_raw()
Array @dummy_imask only needs MAX_PHANDLE_ARGS elements, but it actually has (MAX_PHANDLE_ARGS + 1) elements. One extra element doesn't hurt anything except for some stack usage. Fix by using (MAX_PHANDLE_ARGS - 1) as max element index in initializer. Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com> Link: https://lore.kernel.org/r/20241209-of_irq_fix-v1-2-782f1419c8a1@quicinc.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions