Skip to content
Commit 1c0b28b1 authored by Hans J. Koch's avatar Hans J. Koch Committed by David S. Miller
Browse files

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: default avatar"Hans J. Koch" <hjk@linutronix.de>
Acked-by: default avatarWolfgang Grandegger <wg@grandegger.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 05d17608
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment