summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLink Mauve <linkmauve@linkmauve.fr>2026-07-30 08:50:06 +0200
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-09-25 10:18:09 +0530
commit16736e0587530a2ad074ef716a6a2f1d45f63827 (patch)
treef6549b24ad215b43e8738a1a46e353e0771153ee /tools/perf/scripts/python
parenta3b88f816f1b87c6dbcbb858d153adb82fec2e15 (diff)
powerpc/sstep: Don’t define variables we won’t be using
When compiling with W=1 on 32-bit PowerPC, -Wunused-but-set-variable was set, and alongside -Werror caused the build to fail with this error: ``` ../arch/powerpc/lib/sstep.c: In function 'analyse_instr': ../arch/powerpc/lib/sstep.c:1350:28: error: variable 'suffix' set but not used [-Werror=unused-but-set-variable] 1350 | unsigned int word, suffix; | ^~~~~~ ../arch/powerpc/lib/sstep.c:1346:38: error: variable 'rc' set but not used [-Werror=unused-but-set-variable] 1346 | unsigned int opcode, ra, rb, rc, rd, spr, u; | ^~ cc1: all warnings being treated as errors ``` Signed-off-by: Link Mauve <linkmauve@linkmauve.fr> Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260730065007.964703-3-linkmauve@linkmauve.fr
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions