mbox series

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

Message ID 1654056916-2062-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 June 1, 2022, 4:15 a.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/
v2: correct interrupted variable according comment from John Keeping
v3: (v2: https://lore.kernel.org/linux-usb/1654006119-23869-1-git-send-email-quic_linyyuan@quicinc.com/)
    add Revived-by from John keeping,
    after offline discussion, add Reported-by from Michael Wu

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(-)