diff options
author | Christian Gromm <[email protected]> | 2020-05-27 11:06:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-05-27 12:24:46 +0200 |
commit | 8bf56cfafac12de3087633470b25cada5bdfc7aa (patch) | |
tree | 77d9901782bc401befc09075048fa9546c0c04c1 /drivers/fpga/fpga-bridge.c | |
parent | 2c069b61a843dc9c3d2296b54c4baa9730286530 (diff) |
staging: most: usb: move allocation of URB out of critical section
This patch puts the call to usb_alloc_urb() before the critical
section starts that is protected with the io_mutex lock. This is
to make the section as short as possible and to use the regular
GFP_KERNEL flag.
Signed-off-by: Christian Gromm <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions