public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] usb: f_fs: safe operation in ffs_epfile_io()
@ 2022-06-04  2:54 Linyu Yuan
  2022-06-04  2:54 ` [PATCH v4 1/2] usb: gadget: f_fs: change ep->status safe " Linyu Yuan
  2022-06-04  2:54 ` [PATCH v4 2/2] usb: gadget: f_fs: change ep->ep " Linyu Yuan
  0 siblings, 2 replies; 4+ messages in thread
From: Linyu Yuan @ 2022-06-04  2:54 UTC (permalink / raw)
  To: Felipe Balbi, Greg Kroah-Hartman
  Cc: linux-usb, stable, Jack Pham, 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/
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
v4: (v3: https://lore.kernel.org/linux-usb/1654056916-2062-1-git-send-email-quic_linyyuan@quicinc.com/)
    add Cc: <stable@vger.kernel.org> # 5.15  (seem other branch can't aplly cleanly),
    add Tested-by: Michael Wu <michael@allwinnertech.com>,
    remove one empty line to keep original code format.

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 | 37 ++++++++++++++++++++++---------------
 1 file changed, 22 insertions(+), 15 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2022-06-10  9:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-04  2:54 [PATCH v4 0/2] usb: f_fs: safe operation in ffs_epfile_io() Linyu Yuan
2022-06-04  2:54 ` [PATCH v4 1/2] usb: gadget: f_fs: change ep->status safe " Linyu Yuan
2022-06-10  9:14   ` Greg Kroah-Hartman
2022-06-04  2:54 ` [PATCH v4 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