This is a note to let you know that I've just added the patch titled
USB: serial: fix up bug with missing {}
to the 3.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-serial-fix-up-bug-with-missing.patch
and it can be found in the queue-3.5 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 44b0f0836b62171617d56c6528c821ceaa6ea506 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <[email protected]>
Date: Wed, 19 Sep 2012 08:15:21 +0100
Subject: USB: serial: fix up bug with missing {}
From: Greg Kroah-Hartman <[email protected]>
commit 44b0f0836b62171617d56c6528c821ceaa6ea506 upstream.
As reported by Fengguang:
FYI, coccinelle warns about
drivers/usb/serial/usb-serial.c:1415:3-51: code aligned with following code on
line 1416
vim +1415 drivers/usb/serial/usb-serial.c
1412 /* we only set the reset_resume field if the serial_driver has
one */
1413 for (sd = serial_drivers; *sd; ++sd) {
1414 if ((*sd)->reset_resume)
> 1415 udriver->reset_resume = usb_serial_reset_resume;
> 1416 break;
1417 }
Reported-by: Fengguang Wu <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/usb/serial/usb-serial.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/drivers/usb/serial/usb-serial.c
+++ b/drivers/usb/serial/usb-serial.c
@@ -1426,9 +1426,10 @@ int usb_serial_register_drivers(struct u
/* we only set the reset_resume field if the serial_driver has one */
for (sd = serial_drivers; *sd; ++sd) {
- if ((*sd)->reset_resume)
+ if ((*sd)->reset_resume) {
udriver->reset_resume = usb_serial_reset_resume;
break;
+ }
}
rc = usb_register(udriver);
Patches currently in stable-queue which might be from
[email protected] are
queue-3.5/usb-serial-fix-up-bug-with-missing.patch
queue-3.5/vfs-dcache-fix-deadlock-in-tree-traversal.patch
queue-3.5/dm-verity-fix-overflow-check.patch
queue-3.5/dm-handle-requests-beyond-end-of-device-instead-of-using-bug_on.patch
queue-3.5/usb-ftdi_sio-add-tiao-usb-multi-protocol-adapter-tumpa-support.patch
queue-3.5/usb-option-blacklist-qmi-interface-on-zte-mf683.patch
queue-3.5/usb-gadget-make-g_printer-enumerate-again.patch
queue-3.5/usb-qcaux-add-pantech-vendor-class-match.patch
queue-3.5/usb-gadget-initialize-the-strings-in-tcm_usb_gadget-properly.patch
queue-3.5/usb-host-xhci-fix-null-pointer-dereferencing-with-71c731a-for-non-x86-systems.patch
queue-3.5/dm-table-clear-add_random-unless-all-devices-have-it-set.patch
queue-3.5/dm-mpath-only-retry-ioctl-when-no-paths-if-queue_if_no_path-set.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html