Home
last modified time | relevance | path

Searched hist:"8 bca81d9875c7768c40a19fb439eebaf6cec898d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/usb/
H A Dsmsc95xx.cdiff 8bca81d9875c7768c40a19fb439eebaf6cec898d Tue Nov 11 02:40:47 CST 2014 Sudip Mukherjee <sudipm.mukherjee@gmail.com> 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>