diff options
author | Hans J. Koch <hjk@linutronix.de> | 2010-04-21 00:18:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-21 16:14:51 -0700 |
commit | 1c0b28b1ee90261a0a27194e6684dd2837785064 (patch) | |
tree | e5c31e2fc729ad0a6bd8e6291a5fb1f9d1bdf624 /drivers/net/spider_net.h | |
parent | 05d17608a69b3ae653ea5c9857283bef3439c733 (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/spider_net.h')
0 files changed, 0 insertions, 0 deletions