aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memset.c
diff options
context:
space:
mode:
authorXu Yang <[email protected]>2022-06-23 11:02:42 +0800
committerGreg Kroah-Hartman <[email protected]>2022-06-24 13:45:23 +0200
commitb24346a240b36cfc4df194d145463874985aa29b (patch)
tree73d46d3ddfb5a39f4c49e1c8e500e57a84fe4643 /lib/test_fortify/write_overflow-memset.c
parent90bc2af24638659da56397ff835f3c95a948f991 (diff)
usb: chipidea: udc: check request status before setting device address
The complete() function may be called even though request is not completed. In this case, it's necessary to check request status so as not to set device address wrongly. Fixes: 10775eb17bee ("usb: chipidea: udc: update gadget states according to ch9") cc: <[email protected]> Signed-off-by: Xu Yang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memset.c')
0 files changed, 0 insertions, 0 deletions