aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/lapbether.c
diff options
context:
space:
mode:
authorTong Zhang <[email protected]>2021-03-08 03:25:29 +0000
committerDavid S. Miller <[email protected]>2021-03-08 23:16:30 +0000
commit3153724fc084d8ef640c611f269ddfb576d1dcb1 (patch)
treeb93f0677a75b2d9b63d906caa61ee62b4817cf97 /drivers/net/wan/lapbether.c
parentatm: fix a typo in the struct description (diff)
downloadkernel-3153724fc084d8ef640c611f269ddfb576d1dcb1.tar.gz
kernel-3153724fc084d8ef640c611f269ddfb576d1dcb1.zip
atm: uPD98402: fix incorrect allocation
dev->dev_data is set in zatm.c, calling zatm_start() will overwrite this dev->dev_data in uPD98402_start() and a subsequent PRIV(dev)->lock (i.e dev->phy_data->lock) will result in a null-ptr-dereference. I believe this is a typo and what it actually want to do is to allocate phy_data instead of dev_data. Signed-off-by: Tong Zhang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions