From: Helge Deller Date: Thu, 10 Aug 2023 02:34:58 +0000 (+0200) Subject: parisc: firmware: Mark pdc_result buffers local X-Git-Tag: v6.6.7~2212^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eed869aaf1305444434ad5a9a56abc45aacc0c40;p=platform%2Fkernel%2Flinux-starfive.git parisc: firmware: Mark pdc_result buffers local This fixes a sparse warning which suggest to make those static. Signed-off-by: Helge Deller --- diff --git a/arch/parisc/kernel/firmware.c b/arch/parisc/kernel/firmware.c index 9cd8af5..8f37e75f 100644 --- a/arch/parisc/kernel/firmware.c +++ b/arch/parisc/kernel/firmware.c @@ -74,8 +74,8 @@ static DEFINE_SPINLOCK(pdc_lock); #endif -unsigned long pdc_result[NUM_PDC_RESULT] __aligned(8); -unsigned long pdc_result2[NUM_PDC_RESULT] __aligned(8); +static unsigned long pdc_result[NUM_PDC_RESULT] __aligned(8); +static unsigned long pdc_result2[NUM_PDC_RESULT] __aligned(8); #ifdef CONFIG_64BIT #define WIDE_FIRMWARE 0x1