diff options
| author | Hans J. Koch <[email protected]> | 2010-04-21 00:18:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-04-21 16:14:51 -0700 |
| commit | 1c0b28b1ee90261a0a27194e6684dd2837785064 (patch) | |
| tree | e5c31e2fc729ad0a6bd8e6291a5fb1f9d1bdf624 /kernel/mutex-debug.c | |
| 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" <[email protected]>
Acked-by: Wolfgang Grandegger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'kernel/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions