Skip to content

Commit

Permalink
parisc: firmware: Mark pdc_result buffers local
Browse files Browse the repository at this point in the history
This fixes a sparse warning which suggest to make those static.

Signed-off-by: Helge Deller <deller@gmx.de>
  • Loading branch information
hdeller committed Aug 10, 2023
1 parent a07c03e commit eed869a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/parisc/kernel/firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eed869a

Please sign in to comment.