mbox series

[v2,0/2] usb: f_fs: safe operation in ffs_epfile_io()

Message ID 1654006119-23869-1-git-send-email-quic_linyyuan@quicinc.com (mailing list archive)
Headers show
Series usb: f_fs: safe operation in ffs_epfile_io() | expand

Message

Linyu Yuan May 31, 2022, 2:08 p.m. UTC
Fix two possible issue in ffs_epfile_io() when operation at blocking mode.

v1: https://lore.kernel.org/linux-usb/1653989775-14267-1-git-send-email-quic_linyyuan@quicinc.com/T/#m1b8ccbae36671f9d3662968567f95ef106b2b3f8
v2: correct interrupted variable according comment from John Keeping

Linyu Yuan (2):
  usb: gadget: f_fs: change ep->status safe in ffs_epfile_io()
  usb: gadget: f_fs: change ep->ep safe in ffs_epfile_io()

 drivers/usb/gadget/function/f_fs.c | 38 +++++++++++++++++++++++---------------
 1 file changed, 23 insertions(+), 15 deletions(-)