Patch "usb: gadget: Fix copy/pasted error message" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
usb: gadget: Fix copy/pasted error message
to the 4.9-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-fix-copy-pasted-error-message.patch
and it can be found in the queue-4.9 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 foo@baz Fri Aug 4 15:15:01 PDT 2017
From: David Lechner <[email protected]>
Date: Mon, 2 Jan 2017 17:28:39 -0600
Subject: usb: gadget: Fix copy/pasted error message
From: David Lechner <[email protected]>
[ Upstream commit 43aef5c2ca90535b3227e97e71604291875444ed ]
This fixes an error message that was probably copied and pasted. The same message is used for both the in and out endpoints, so it makes it impossible to know which one actually failed because both cases say "IN".
Make the out endpoint error message say "OUT".
--- drivers/usb/gadget/function/f_hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/function/f_hid.c +1 -1
@@ -582,7 +582,7 @@ static int hidg_set_alt(struct usb_funct } status =usb_ep_enable (hidg->out_ep);if (status <0 ) { -ERROR (cdev,"Enable IN endpoint FAILED!\n" ); +ERROR (cdev,"Enable OUT endpoint FAILED!\n" ); goto fail; } hidg->out_ep->driver_data = hidg;
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/usb-gadget-fix-copy-pasted-error-message.patch