aboutsummaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorAlexandre Belloni <[email protected]>2019-05-22 12:07:36 +0000
committerFelipe Balbi <[email protected]>2019-06-06 10:51:57 +0000
commitfbc318afadd6e7ae2252d6158cf7d0c5a2132f7d (patch)
tree23ee9d920d8c41c1dbe80e0be5443920fab4daf5 /lib/timerqueue.c
parentusb: gadget: fusb300_udc: Fix memory leak of fusb300->ep[i] (diff)
downloadkernel-fbc318afadd6e7ae2252d6158cf7d0c5a2132f7d.tar.gz
kernel-fbc318afadd6e7ae2252d6158cf7d0c5a2132f7d.zip
usb: gadget: udc: lpc32xx: allocate descriptor with GFP_ATOMIC
Gadget drivers may queue request in interrupt context. This would lead to a descriptor allocation in that context. In that case we would hit BUG_ON(in_interrupt()) in __get_vm_area_node. Also remove the unnecessary cast. Acked-by: Sylvain Lemieux <[email protected]> Tested-by: James Grant <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions