android_kernel_xiaomi_sm7250/drivers/atm
Tong Zhang f859f5089b atm: idt77252: fix null-ptr-dereference
[ Upstream commit 4416e98594dc04590ebc498fc4e530009535c511 ]

this one is similar to the phy_data allocation fix in uPD98402, the
driver allocate the idt77105_priv and store to dev_data but later
dereference using dev->dev_data, which will cause null-ptr-dereference.

fix this issue by changing dev_data to phy_data so that PRIV(dev) can
work correctly.

Signed-off-by: Tong Zhang <ztong0001@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-30 14:36:58 +02:00
..
.gitignore
adummy.c
ambassador.c
ambassador.h
atmtcp.c
eni.c atm: eni: dont release is never initialized 2021-03-30 14:36:57 +02:00
eni.h
firestream.c
firestream.h
fore200e.c
fore200e.h
he.c
he.h
horizon.c
horizon.h
idt77105.c atm: idt77252: fix null-ptr-dereference 2021-03-30 14:36:58 +02:00
idt77105.h
idt77252_tables.h
idt77252.c atm: idt77252: call pci_disable_device() on error path 2021-01-12 20:10:17 +01:00
idt77252.h
iphase.c
iphase.h
Kconfig
lanai.c atm: lanai: dont run lanai_dev_close if not open 2021-03-30 14:36:57 +02:00
Makefile
midway.h
nicstar.c atm: nicstar: Unmap DMA on send error 2020-11-24 13:27:15 +01:00
nicstar.h
nicstarmac.c
nicstarmac.copyright
solos-attrlist.c
solos-pci.c
suni.c
suni.h
tonga.h
uPD98401.h
uPD98402.c atm: uPD98402: fix incorrect allocation 2021-03-30 14:36:58 +02:00
uPD98402.h
zatm.c
zatm.h
zeprom.h