提交 3756c7c0 编写于 作者: O Oliver Neukum 提交者: Greg Kroah-Hartman

USB: storage: onetouch: unnecessary GFP_ATOMIC

No need to use GFP_ATOMIC to allocate buffers.
Signed-off-by: NOliver Neukum <neukum@b1-systems.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 46b72d78
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册