Commit:     0cc1a51ff32cd54881a7e4d92ed89cee49843265
Parent:     4bb0ef193bae8ca881d14fa713a831c042147041
Author:     Oliver Neukum <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 10 10:31:48 2008 +0100
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Feb 1 14:34:45 2008 -0800

    USB: use GFP_NOIO in reset path
    this function will run in the context of the scsi error handler thread.
    It must use GFP_NOIO instead of GFP_KERNEL to avoid a possible
    Cc: stable <[EMAIL PROTECTED]>
    Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 drivers/usb/core/hub.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index b04d232..1b17f63 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -2946,7 +2946,7 @@ static int config_descriptors_changed(struct usb_device 
                if (len < le16_to_cpu(udev->config[index].desc.wTotalLength))
                        len = 
-       buf = kmalloc (len, GFP_KERNEL);
+       buf = kmalloc(len, GFP_NOIO);
        if (buf == NULL) {
                dev_err(&udev->dev, "no mem to re-read configs after reset\n");
                /* assume the worst */
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to