This is a note to let you know that I've just added the patch titled

    USB: ftdi_sio: fix problem when the manufacture is a NULL string

to the 3.2-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-ftdi_sio-fix-problem-when-the-manufacture-is-a-null-string.patch
and it can be found in the queue-3.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 656d2b3964a9d0f9864d472f8dfa2dd7dd42e6c0 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <[email protected]>
Date: Tue, 28 Feb 2012 09:20:09 -0800
Subject: USB: ftdi_sio: fix problem when the manufacture is a NULL string

From: Greg Kroah-Hartman <[email protected]>

commit 656d2b3964a9d0f9864d472f8dfa2dd7dd42e6c0 upstream.

On some misconfigured ftdi_sio devices, if the manufacturer string is
NULL, the kernel will oops when the device is plugged in.  This patch
fixes the problem.

Reported-by: Wojciech M Zabolotny <[email protected]>
Tested-by: Wojciech M Zabolotny <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/usb/serial/ftdi_sio.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -1763,7 +1763,8 @@ static int ftdi_8u2232c_probe(struct usb
 
        dbg("%s", __func__);
 
-       if (strcmp(udev->manufacturer, "CALAO Systems") == 0)
+       if ((udev->manufacturer) &&
+           (strcmp(udev->manufacturer, "CALAO Systems") == 0))
                return ftdi_jtag_probe(serial);
 
        return 0;


Patches currently in stable-queue which might be from 
[email protected] are

queue-3.2/usb-option-driver-adding-support-for-telit-cc864-single-cc864-dual-and-de910-dual-modems.patch
queue-3.2/staging-r8712u-fix-regression-introduced-by-commit-a5ee652.patch
queue-3.2/usb-ftdi_sio-add-support-for-ft-x-series-devices.patch
queue-3.2/usb-ftdi_sio-fix-problem-when-the-manufacture-is-a-null-string.patch
queue-3.2/staging-r8712u-add-missing-initialization-and-remove-configuration-parameter-config_r8712_ap.patch
queue-3.2/staging-r8712u-fix-regression-in-signal-level-after-commit-c6dc001.patch
queue-3.2/usb-ftdi_sio-add-support-for-beaglebone-rev-a5.patch
queue-3.2/usb-microchip-vid-mislabeled-as-hornby-vid-in-ftdi_sio.patch
queue-3.2/usb-ftdi_sio-new-pid-lumel-pd12.patch
queue-3.2/usb-ftdi_sio-new-pid-distortec-jtag-lock-pick.patch
queue-3.2/usb-option-add-zte-mf820d.patch
queue-3.2/powerpc-usb-fix-bug-of-kernel-hang-when-initializing-usb.patch
queue-3.2/staging-zcache-avoid-ab-ba-deadlock-condition.patch
queue-3.2/usb-option-make-interface-blacklist-work-again.patch
queue-3.2/usb-option-add-mediatek-mt6276m-modem-app-interfaces.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

Reply via email to