WSL2-Linux-Kernel/arch/arm/mach-pxa
Arnd Bergmann 230ea4c761 ARM: pxa: mainstone: avoid -Woverride-init warning
The default initializer at the start of the array causes a warning
when building with W=1:

In file included from arch/arm/mach-pxa/mainstone.c:47:
arch/arm/mach-pxa/mainstone.h:124:33: error: initialized field overwritten [-Werror=override-init]
  124 | #define MAINSTONE_IRQ(x)        (MAINSTONE_NR_IRQS + (x))
      |                                 ^
arch/arm/mach-pxa/mainstone.h:133:33: note: in expansion of macro 'MAINSTONE_IRQ'
  133 | #define MAINSTONE_S0_CD_IRQ     MAINSTONE_IRQ(9)
      |                                 ^~~~~~~~~~~~~
arch/arm/mach-pxa/mainstone.c:506:15: note: in expansion of macro 'MAINSTONE_S0_CD_IRQ'
  506 |         [5] = MAINSTONE_S0_CD_IRQ,
      |               ^~~~~~~~~~~~~~~~~~~

Rework the initializer to list each element explicitly and only once.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210323130849.2362001-1-arnd@kernel.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-04-01 16:32:37 +02:00
..
include/mach ARM: pxa: remove Compulab pxa2xx boards 2020-05-26 00:10:57 +02:00
Kconfig ARM: pxa: remove Compulab pxa2xx boards 2020-05-26 00:10:57 +02:00
Makefile ARM: pxa: remove Compulab pxa2xx boards 2020-05-26 00:10:57 +02:00
Makefile.boot
am200epd.c
am300epd.c
balloon3.c
capc7117.c
cm-x300.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
colibri-evalboard.c
colibri-pxa3xx.c
colibri-pxa270-income.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
colibri-pxa270.c
colibri-pxa300.c
colibri-pxa320.c
colibri.h
corgi.c backlight: corgi: Convert to use GPIO descriptors 2020-03-25 09:30:46 +00:00
corgi_pm.c
csb701.c
csb726.c
csb726.h
devices.c media: mach-pxa: Register the camera sensor fixed-rate clock 2021-02-06 09:37:14 +01:00
devices.h
eseries-irq.h
eseries.c
ezx.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
generic.c
generic.h
gumstix.c
gumstix.h
h5000.c
h5000.h
himalaya.c
hx4700.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
icontrol.c
idp.c
idp.h
irq.c
littleton.c
littleton.h
lpd270.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
lpd270.h
lubbock.c
magician.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
mainstone.c ARM: pxa: mainstone: avoid -Woverride-init warning 2021-04-01 16:32:37 +02:00
mfp-pxa2xx.c
mfp-pxa2xx.h
mfp-pxa3xx.c
mfp-pxa3xx.h
mfp-pxa25x.h
mfp-pxa27x.h
mfp-pxa300.h
mfp-pxa320.h
mfp-pxa930.h
mioa701.c power: supply: wm97xx_battery: Convert to GPIO descriptor 2021-01-13 22:25:07 +01:00
mioa701.h
mioa701_bootresume.S
mp900.c
mxm8x10.c
mxm8x10.h
palm27x.c power: supply: wm97xx_battery: Convert to GPIO descriptor 2021-01-13 22:25:07 +01:00
palm27x.h
palmld.c
palmt5.c
palmt5.h
palmtc.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
palmte2.c power: supply: wm97xx_battery: Convert to GPIO descriptor 2021-01-13 22:25:07 +01:00
palmte2.h
palmtreo.c
palmtreo.h
palmtx.c
palmz72.c media: mach-pxa: palmz72/pcm990: remove soc_camera dependencies 2020-07-04 12:19:12 +02:00
palmz72.h
pcm027.c
pcm027.h
pcm990-baseboard.c media: mach-pxa: palmz72/pcm990: remove soc_camera dependencies 2020-07-04 12:19:12 +02:00
pcm990_baseboard.h
pm.c
pm.h
poodle.c
pxa-dt.c
pxa2xx.c
pxa3xx-ulpi.c
pxa3xx.c
pxa3xx.h
pxa25x.c
pxa25x.h
pxa27x-udc.h
pxa27x.c
pxa27x.h
pxa300.c
pxa300.h
pxa320.c
pxa320.h
pxa930.c
pxa930.h
pxa_cplds_irqs.c
regs-rtc.h
regs-u2d.h
reset.c
saar.c
sharpsl_pm.c
sharpsl_pm.h
sleep.S
smemc.c
spitz.c backlight: corgi: Convert to use GPIO descriptors 2020-03-25 09:30:46 +00:00
spitz_pm.c
standby.S
stargate2.c
tavorevb.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
tosa-bt.c
tosa.c power: supply: gpio-charger: Convert to GPIO descriptors 2020-08-27 16:47:14 +02:00
tosa_bt.h
trizeps4.c
udc.h
viper.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
viper.h
vpac270.c
xcep.c
z2.c power supply and reset changes for the v5.12 series 2021-02-22 09:49:59 -08:00
zeus.c
zeus.h
zylonite.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
zylonite.h
zylonite_pxa300.c
zylonite_pxa320.c