public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] usb: f_fs: safe operation in ffs_epfile_io()
@ 2022-05-31  9:36 Linyu Yuan
  2022-05-31  9:36 ` [PATCH v1 1/2] usb: gadget: ffs: change ep->status safe " Linyu Yuan
  2022-05-31  9:36 ` [PATCH v1 2/2] usb: gadget: ffs: change ep->ep " Linyu Yuan
  0 siblings, 2 replies; 6+ messages in thread
From: Linyu Yuan @ 2022-05-31  9:36 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.

(note: Two changes queue internally for a long time, when I saw Michael Wu
send a patch[1], I also share to him, there is some discussion
but still not get his ACK. now also saw John Keeping comment
the change, this change is doing a little difference, hope it not break
the rules.)

[1]
https://lore.kernel.org/linux-usb/YpUJkxWBNuZiW7Xk@donbot/T/#m52a26046ed0e3ca4e7b4181c7c808f9e6d1f3ba5

Linyu Yuan (2):
  usb: gadget: ffs: change ep->status safe in ffs_epfile_io()
  usb: gadget: ffs: 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] 6+ messages in thread

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-31  9:36 [PATCH v1 0/2] usb: f_fs: safe operation in ffs_epfile_io() Linyu Yuan
2022-05-31  9:36 ` [PATCH v1 1/2] usb: gadget: ffs: change ep->status safe " Linyu Yuan
2022-05-31 11:44   ` John Keeping
2022-05-31 13:06     ` Linyu Yuan
2022-05-31  9:36 ` [PATCH v1 2/2] usb: gadget: ffs: change ep->ep " Linyu Yuan
2022-05-31 11:47   ` John Keeping

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