From: Oliver Neukum Date: Sat, 20 Feb 2010 01:03:19 +0000 (+0100) Subject: USB: storage: onetouch: unnecessary GFP_ATOMIC X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3756c7c091f4ca8bcaf89ee3855a326d69209716;p=openwrt%2Fstaging%2Fblogic.git USB: storage: onetouch: unnecessary GFP_ATOMIC No need to use GFP_ATOMIC to allocate buffers. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/storage/onetouch.c b/drivers/usb/storage/onetouch.c index 80e65f29921c..198bb3ed95b2 100644 --- a/drivers/usb/storage/onetouch.c +++ b/drivers/usb/storage/onetouch.c @@ -202,7 +202,7 @@ static int onetouch_connect_input(struct us_data *ss) goto fail1; onetouch->data = usb_buffer_alloc(udev, ONETOUCH_PKT_LEN, - GFP_ATOMIC, &onetouch->data_dma); + GFP_KERNEL, &onetouch->data_dma); if (!onetouch->data) goto fail1;