]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: avoid null pointer dereference in debug logging
authorMaarten ter Huurne <maarten@treewalker.org>
Mon, 19 Aug 2013 06:24:08 +0000 (08:24 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 27 Aug 2013 19:16:57 +0000 (14:16 -0500)
commitbe475bd94a71c2ac3b344acf55108600c90982ec
tree2b8973aafaa1a7b49f99e4a70c821b5f19200271
parent60062f309bdd3ab579e03effcc91eac3fdce50ae
usb: musb: avoid null pointer dereference in debug logging

Since commit 916c454c (usb: gadget: udc-core: fix a regression during
gadget driver unbinding) usb_gadget_remove_driver will pass NULL for
the driver argument.

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_gadget.c