summaryrefslogtreecommitdiffstats
path: root/fs/fs_parser.c
diff options
context:
space:
mode:
authorXu Yang <xu.yang_2@nxp.com>2022-06-23 05:02:42 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-24 13:45:23 +0200
commitb24346a240b36cfc4df194d145463874985aa29b (patch)
tree73d46d3ddfb5a39f4c49e1c8e500e57a84fe4643 /fs/fs_parser.c
parentUSB: gadget: Fix double-free bug in raw_gadget driver (diff)
downloadlinux-b24346a240b36cfc4df194d145463874985aa29b.tar.xz
linux-b24346a240b36cfc4df194d145463874985aa29b.zip
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: <stable@vger.kernel.org> Signed-off-by: Xu Yang <xu.yang_2@nxp.com> Link: https://lore.kernel.org/r/20220623030242.41796-1-xu.yang_2@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/fs_parser.c')
0 files changed, 0 insertions, 0 deletions