summaryrefslogtreecommitdiff
path: root/drivers/usb/atm/ueagle-atm.c
diff options
context:
space:
mode:
authormatthieu castet <castet.matthieu@free.fr>2006-04-02 18:44:48 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-04-14 11:12:23 -0700
commit584958c3d2985396bdb6f96ae632971b43f6f984 (patch)
treec79324b232db51b93c74548ff2a6c15a690e5b70 /drivers/usb/atm/ueagle-atm.c
parent22fcceb546227a4c557d1844c1796c13a5086c9f (diff)
[PATCH] USB: UEAGLE : null pointer dereference fix
this patch fix potential null pointer dereference. Found by the Coverity checker. Signed-off-by: Duncan Sands <baldrick@free.fr> Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/atm/ueagle-atm.c')
-rw-r--r--drivers/usb/atm/ueagle-atm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/atm/ueagle-atm.c b/drivers/usb/atm/ueagle-atm.c
index 602be5488c9d..047fb4ea2fa6 100644
--- a/drivers/usb/atm/ueagle-atm.c
+++ b/drivers/usb/atm/ueagle-atm.c
@@ -1673,7 +1673,7 @@ static int uea_bind(struct usbatm_data *usbatm, struct usb_interface *intf,
sc = kzalloc(sizeof(struct uea_softc), GFP_KERNEL);
if (!sc) {
- uea_err(INS_TO_USBDEV(sc), "uea_init: not enough memory !\n");
+ uea_err(usb, "uea_init: not enough memory !\n");
return -ENOMEM;
}