diff options
author | Emiliano Ingrassia <[email protected]> | 2019-11-27 17:03:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-12-10 11:41:19 +0100 |
commit | 1cd17f7f0def31e3695501c4f86cd3faf8489840 (patch) | |
tree | f802e26c2d55a910ccfc7265263d9228dd6b9dc9 /drivers/fpga/fpga-bridge.c | |
parent | 5c388abefda0d92355714010c0199055c57ab6c7 (diff) |
usb: core: urb: fix URB structure initialization function
Explicitly initialize URB structure urb_list field in usb_init_urb().
This field can be potentially accessed uninitialized and its
initialization is coherent with the usage of list_del_init() in
usb_hcd_unlink_urb_from_ep() and usb_giveback_urb_bh() and its
explicit initialization in usb_hcd_submit_urb() error path.
Signed-off-by: Emiliano Ingrassia <[email protected]>
Cc: stable <[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