android_kernel_sony_sdm845/drivers/atm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Arnd Bergmann 8d18bdc353 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-02-05 13:05:41 +00:00
..
.gitignore
adummy.c
ambassador.c
ambassador.h
atmtcp.c
eni.c atm: eni: fix uninitialized variable warning 2020-02-05 13:05:41 +00:00
eni.h
firestream.c firestream: fix memory leaks 2020-01-29 10:24:36 +01:00
firestream.h
fore200e.c atm: fore200e: Do not drop const qualifier 2016-08-18 23:46:42 -07:00
fore200e.h
he.c atm: he: fix sign-extension overflow on large shift 2019-02-27 10:06:59 +01:00
he.h
horizon.c atm: horizon: Fix irq release error 2017-12-14 09:28:24 +01:00
horizon.h
idt77105.c atm: idt77105: Use setup_timer 2015-06-10 22:46:34 -07:00
idt77105.h
idt77252.c
idt77252.h
idt77252_tables.h
iphase.c atm: iphase: Fix Spectre v1 vulnerability 2019-08-11 12:22:16 +02:00
iphase.h
Kconfig Kconfig: Fix the reference to the IDT77105 Phy driver in the description of ATM_NICSTAR_USE_IDT77105 2019-09-21 07:14:13 +02:00
lanai.c atm: lanai: set error code when ioremap fails 2016-12-05 13:27:33 -05:00
Makefile
midway.h
nicstar.c ATM-nicstar: Refactor a dev_alloc_skb() call in dequeue_rx() 2016-09-10 21:45:25 -07:00
nicstar.h
nicstarmac.c
nicstarmac.copyright
solos-attrlist.c
solos-pci.c atm: solos-pci: use to_pci_dev() 2015-12-29 15:32:24 -05:00
suni.c
suni.h
tonga.h
uPD98401.h
uPD98402.c
uPD98402.h
zatm.c atm: zatm: Fix empty body Clang warnings 2019-11-28 18:28:32 +01:00
zatm.h
zeprom.h