diff options
author | Helge Deller <deller@gmx.de> | 2023-08-31 23:08:32 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-08-31 23:09:15 +0300 |
commit | b137b9d60b8add5620a06c687a71ce18776730b0 (patch) | |
tree | 0d4e541da1f77016839cb772f31cb77d4fd2ac2f /arch | |
parent | 927c6c8aa27c284a799b8c18784e37d3373af908 (diff) | |
download | linux-b137b9d60b8add5620a06c687a71ce18776730b0.tar.xz |
parisc: drivers: Fix sparse warning
Fix "warning: directive in macro's argument list" warning.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/kernel/drivers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/drivers.c b/arch/parisc/kernel/drivers.c index 8f4b77648491..ed8b75948061 100644 --- a/arch/parisc/kernel/drivers.c +++ b/arch/parisc/kernel/drivers.c @@ -925,9 +925,9 @@ static __init void qemu_header(void) pr_info("#define PARISC_MODEL \"%s\"\n\n", boot_cpu_data.pdc.sys_model_name); + #define p ((unsigned long *)&boot_cpu_data.pdc.model) pr_info("#define PARISC_PDC_MODEL 0x%lx, 0x%lx, 0x%lx, " "0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx\n\n", - #define p ((unsigned long *)&boot_cpu_data.pdc.model) p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8]); #undef p |