Patch "usb: gadget: udc: core: Fix argument of dev_err() in usb_gadget_map_request()" has been added to the 4.5-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
usb: gadget: udc: core: Fix argument of dev_err() in usb_gadget_map_request()
to the 4.5-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
usb-gadget-udc-core-fix-argument-of-dev_err-in-usb_gadget_map_request.patch
and it can be found in the queue-4.5 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
5096c4d3bfa75bdd23c78f799aabd08598afb48fMon Sep 17 00:00:00 2001
From: Yoshihiro Shimoda <[email protected]>
Date: Mon, 18 Apr 2016 16:53:38 +0900
Subject: usb: gadget: udc: core: Fix argument of dev_err() in usb_gadget_map_request()
From: Yoshihiro Shimoda <[email protected]>
commit 5096c4d3bfa75bdd23c78f799aabd08598afb48f upstream.
The argument of dev_err() in usb_gadget_map_request() should be dev instead of &gadget->dev.
--- drivers/usb/gadget/udc/udc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/udc/udc-core.c +1 -1
@@ -75,7 +75,7 @@ int usb_gadget_map_request(struct usb_ga mapped =dma_map_sg (dev, req->sg, req->num_sgs, is_in ?DMA_TO_DEVICE :DMA_FROM_DEVICE );if (mapped ==0 ) { -dev_err (&gadget->dev,"failed to map SGs\n" ); +dev_err (dev,"failed to map SGs\n" );return -EFAULT ; }
Patches currently in stable-queue which might be from [email protected] are
queue-4.5/usb-gadget-udc-core-fix-argument-of-dev_err-in-usb_gadget_map_request.patch