Commit e26d349a authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman

[PATCH] USB cdc-acm: missed a GFP_KERNEL in interrupt

the patch turns it into GFP_ATOMIC.
parent c14fd579
...@@ -278,7 +278,7 @@ static void acm_read_bulk(struct urb *urb, struct pt_regs *regs) ...@@ -278,7 +278,7 @@ static void acm_read_bulk(struct urb *urb, struct pt_regs *regs)
urb->actual_length = 0; urb->actual_length = 0;
urb->dev = acm->dev; urb->dev = acm->dev;
if (usb_submit_urb(urb, GFP_KERNEL)) if (usb_submit_urb(urb, GFP_ATOMIC))
dbg("failed resubmitting read urb"); dbg("failed resubmitting read urb");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment