Skip to content

Commit 2132058

Browse files
committed
parisc/unaligned: Fix hex output to show 8 hex chars
Change back printk format to 0x%08lx instead of %#08lx, since the latter does not seem to reliably format the value to 8 hex chars. Signed-off-by: Helge Deller <[email protected]> Cc: [email protected] # v5.18+ Fixes: e5e9e7f ("parisc/unaligned: Enhance user-space visible output")
1 parent 7cbb015 commit 2132058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/parisc/kernel/unaligned.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#define DPRINTF(fmt, args...)
2626
#endif
2727

28-
#define RFMT "%#08lx"
28+
#define RFMT "0x%08lx"
2929

3030
/* 1111 1100 0000 0000 0001 0011 1100 0000 */
3131
#define OPCODE1(a,b,c) ((a)<<26|(b)<<12|(c)<<6)

0 commit comments

Comments
 (0)