The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 0/2] powerpc/sstep: Fix compilation on 32-bit PowerPC
@ 2026-07-29 20:49 Link Mauve
  2026-07-29 20:49 ` [PATCH 1/2] powerpc/sstep: Consistently use one define to check arch bit width Link Mauve
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Link Mauve @ 2026-07-29 20:49 UTC (permalink / raw)
  To: linuxppc-dev, linux-kernel
  Cc: Link Mauve, Madhavan Srinivasan, techflashYT, Ash Logan,
	Jonathan Neuschäfer, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy (CS GROUP)

Two local variables were only set but never read on 32-bit PowerPC,
which causes an error during compilation.

This series first makes the 64-bit guards consistent by converting all
uses of CONFIG_PPC64 to use __powerpc64__ instead, and then guard the
two variables rc and suffix behind __powerpc64__ checks.

Link Mauve (2):
  powerpc/sstep: Consistently use one define to check arch bit width
  powerpc/sstep: Don’t define variables we won’t be using

 arch/powerpc/lib/sstep.c | 26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)


base-commit: 78bc8af4affb9a732504eb22eeac7d1e50883853
-- 
2.55.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-07-30  6:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-29 20:49 [PATCH 0/2] powerpc/sstep: Fix compilation on 32-bit PowerPC Link Mauve
2026-07-29 20:49 ` [PATCH 1/2] powerpc/sstep: Consistently use one define to check arch bit width Link Mauve
2026-07-30  6:02   ` LEROY Christophe
2026-07-29 20:49 ` [PATCH 2/2] powerpc/sstep: Don’t define variables we won’t be using Link Mauve
2026-07-30  6:24   ` Christophe Leroy (CS GROUP)
2026-07-30  6:39     ` Link Mauve
2026-07-30  5:51 ` [PATCH 0/2] powerpc/sstep: Fix compilation on 32-bit PowerPC Christophe Leroy (CS GROUP)
2026-07-30  6:04   ` Link Mauve

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox