UEAGLE : null pointer dereference fix
Subsystems (3)
matthieu castet
maintainerPATCH 3/4 UEAGLE : null pointer dereference fix
Hi,
this patch fix potential null pointer dereference. Found by the Coverity checker.
Signed-off-by Duncan Sands <[email protected]>
Signed-off-by Matthieu CASTET <[email protected]>
ueagle-atm.c +1 -1
@@ -1673,7 +1673,7 @@ 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 ; }
matthieu castet
maintainerQuoted 4 lines · matthieu castet
Hi,
this patch fix potential null pointer dereference. Found by the Coverity checker.
add correct path for the file name
Signed-off-by Duncan Sands <[email protected]>
Signed-off-by Matthieu CASTET <[email protected]>
drivers/usb/atm/ueagle-atm.c +1 -1
@@ -1673,7 +1673,7 @@ 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 ; }