public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] usb: f_fs: safe operation in ffs_epfile_io()
@ 2022-05-31 14:08 Linyu Yuan
  2022-05-31 14:08 ` [PATCH v2 1/2] usb: gadget: f_fs: change ep->status safe " Linyu Yuan
  2022-05-31 14:08 ` [PATCH v2 2/2] usb: gadget: f_fs: change ep->ep " Linyu Yuan
  0 siblings, 2 replies; 4+ messages in thread
From: Linyu Yuan @ 2022-05-31 14:08 UTC (permalink / raw)
  To: Felipe Balbi, Greg Kroah-Hartman
  Cc: linux-usb, Michael Wu, John Keeping, Linyu Yuan

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

-- 
2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-31 18:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-31 14:08 [PATCH v2 0/2] usb: f_fs: safe operation in ffs_epfile_io() Linyu Yuan
2022-05-31 14:08 ` [PATCH v2 1/2] usb: gadget: f_fs: change ep->status safe " Linyu Yuan
2022-05-31 18:06   ` John Keeping
2022-05-31 14:08 ` [PATCH v2 2/2] usb: gadget: f_fs: change ep->ep " Linyu Yuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox