Skip to content

Commit b137b9d

Browse files
committed
parisc: drivers: Fix sparse warning
Fix "warning: directive in macro's argument list" warning. Signed-off-by: Helge Deller <[email protected]>
1 parent 927c6c8 commit b137b9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/parisc/kernel/drivers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,9 +925,9 @@ static __init void qemu_header(void)
925925
pr_info("#define PARISC_MODEL \"%s\"\n\n",
926926
boot_cpu_data.pdc.sys_model_name);
927927

928+
#define p ((unsigned long *)&boot_cpu_data.pdc.model)
928929
pr_info("#define PARISC_PDC_MODEL 0x%lx, 0x%lx, 0x%lx, "
929930
"0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx\n\n",
930-
#define p ((unsigned long *)&boot_cpu_data.pdc.model)
931931
p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8]);
932932
#undef p
933933

0 commit comments

Comments
 (0)