Messages in this thread | | | From | Tong Zhang <> | Subject | [PATCH 0/3] fix a couple of atm->phy_data related issues | Date | Sun, 7 Mar 2021 22:25:27 -0500 |
| |
there are two drivers(zatm and idt77252) using PRIV() (i.e. atm->phy_data) to store private data, but the driver happens to populate wrong pointers: atm->dev_data. which actually cause null-ptr-dereference in following PRIV(dev). This patch series attemps to fix those two issues along with a typo in atm struct.
Tong Zhang (3): atm: fix a typo in the struct description atm: uPD98402: fix incorrect allocation atm: idt77252: fix null-ptr-dereference
drivers/atm/idt77105.c | 4 ++-- drivers/atm/uPD98402.c | 2 +- include/linux/atmdev.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
-- 2.25.1
| |