diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2014-11-11 11:40:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-12 00:24:08 +0300 |
commit | 8bca81d9875c7768c40a19fb439eebaf6cec898d (patch) | |
tree | f0e709326fc9292781a2000fde5f8ae88102d94c /drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | |
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/ethernet/intel/ixgbe/ixgbe_sriov.c')
0 files changed, 0 insertions, 0 deletions