projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22fcceb
)
[PATCH] USB: UEAGLE : null pointer dereference fix
author
matthieu castet
<castet.matthieu@free.fr>
Sun, 2 Apr 2006 16:44:48 +0000
(18:44 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 14 Apr 2006 18:12:23 +0000
(11:12 -0700)
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>
drivers/usb/atm/ueagle-atm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/atm/ueagle-atm.c
b/drivers/usb/atm/ueagle-atm.c
index 602be5488c9d5b4e8f2d95916138f836f7938f35..047fb4ea2fa64ae07163f153b649e22c1e48de89 100644
(file)
--- 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;
}