From: Hans J. Koch Date: Wed, 21 Apr 2010 00:18:06 +0000 (+0000) Subject: can: Fix possible NULL pointer dereference in ems_usb.c X-Git-Tag: v2.6.34-rc6~33^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c0b28b1ee90261a0a27194e6684dd2837785064;p=pandora-kernel.git 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" Acked-by: Wolfgang Grandegger Signed-off-by: David S. Miller --- Reading git-diff-tree failed