“bccb0ba49ad84de2b52e293cdc1da8359ead6107”上不存在“...inference/tests/git@gitcode.net:BaiXuePrincess/Paddle.git”
提交 584958c3 编写于 作者: M matthieu castet 提交者: Greg Kroah-Hartman

[PATCH] USB: UEAGLE : null pointer dereference fix

this patch fix potential null pointer dereference.  Found by the
Coverity checker.
Signed-off-by: NDuncan Sands <baldrick@free.fr>
Signed-off-by: NMatthieu CASTET <castet.matthieu@free.fr>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 22fcceb5
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册