aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/can/bfin_can.c
diff options
context:
space:
mode:
authorHans J. Koch <hjk@linutronix.de>2010-04-21 00:18:06 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-21 16:14:51 -0700
commit1c0b28b1ee90261a0a27194e6684dd2837785064 (patch)
treee5c31e2fc729ad0a6bd8e6291a5fb1f9d1bdf624 /drivers/net/can/bfin_can.c
parent05d17608a69b3ae653ea5c9857283bef3439c733 (diff)
can: Fix possible NULL pointer dereference in ems_usb.c
In ems_usb_probe(), a pointer is dereferenced after making sure it is NULL... This patch replaces netdev->dev.parent with &intf->dev in dev_err() calls to avoid this. Signed-off-by: "Hans J. Koch" <hjk@linutronix.de> Acked-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/bfin_can.c')
0 files changed, 0 insertions, 0 deletions