diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2014-11-11 08:40:47 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-11 21:24:08 (GMT) |
commit | 8bca81d9875c7768c40a19fb439eebaf6cec898d (patch) | |
tree | f0e709326fc9292781a2000fde5f8ae88102d94c /drivers/net/irda | |
parent | d65c4e4e0aeb699e984bd4b382efffab418aa359 (diff) | |
download | linux-8bca81d9875c7768c40a19fb439eebaf6cec898d.tar.xz |
usbnet: smsc95xx: dereferencing NULL pointer
we were dereferencing dev to initialize pdata. but just after that we
have a BUG_ON(!dev). so we were basically dereferencing the pointer
first and then tesing it for NULL.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda')
0 files changed, 0 insertions, 0 deletions