commit | 1c0b28b1ee90261a0a27194e6684dd2837785064 | [log] [tgz] |
---|---|---|
author | Hans J. Koch <hjk@linutronix.de> | Wed Apr 21 00:18:06 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 21 16:14:51 2010 -0700 |
tree | e5c31e2fc729ad0a6bd8e6291a5fb1f9d1bdf624 | |
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>