commit | 8bca81d9875c7768c40a19fb439eebaf6cec898d | [log] [tgz] |
---|---|---|
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | Tue Nov 11 14:10:47 2014 +0530 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 11 16:24:08 2014 -0500 |
tree | f0e709326fc9292781a2000fde5f8ae88102d94c | |
parent | d65c4e4e0aeb699e984bd4b382efffab418aa359 [diff] |
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>