android_kernel_samsung_a7y1.../drivers/atm
Arnd Bergmann a17371b284 atm: eni: fix uninitialized variable warning
[ Upstream commit 30780d086a83332adcd9362281201cee7c3d9d19 ]

With -O3, gcc has found an actual unintialized variable stored
into an mmio register in two instances:

drivers/atm/eni.c: In function 'discard':
drivers/atm/eni.c:465:13: error: 'dma[1]' is used uninitialized in this function [-Werror=uninitialized]
   writel(dma[i*2+1],eni_dev->rx_dma+dma_wr*8+4);
             ^
drivers/atm/eni.c:465:13: error: 'dma[3]' is used uninitialized in this function [-Werror=uninitialized]

Change the code to always write zeroes instead.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:45:54 +02:00
..
adummy.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ambassador.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ambassador.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
atmtcp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
eni.c atm: eni: fix uninitialized variable warning 2020-04-07 13:45:54 +02:00
eni.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
firestream.c firestream: fix memory leaks 2020-04-07 13:44:33 +02:00
firestream.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fore200e.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fore200e.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
he.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
he.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
horizon.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
horizon.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
idt77105.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
idt77105.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
idt77252_tables.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
idt77252.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
idt77252.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iphase.c atm: iphase: Fix Spectre v1 vulnerability 2020-04-06 20:28:08 +02:00
iphase.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig Kconfig: Fix the reference to the IDT77105 Phy driver in the description of ATM_NICSTAR_USE_IDT77105 2020-04-06 21:36:26 +02:00
lanai.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
midway.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nicstar.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nicstar.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nicstarmac.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nicstarmac.copyright A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
solos-attrlist.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
solos-pci.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
suni.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
suni.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tonga.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
uPD98401.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
uPD98402.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
uPD98402.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
zatm.c atm: zatm: Fix empty body Clang warnings 2020-04-07 12:35:08 +02:00
zatm.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
zeprom.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30