[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200706103130.GB10624@kroah.com>
Date: Mon, 6 Jul 2020 12:31:30 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: qiang.zhang@...driver.com
Cc: balbi@...nel.org, colin.king@...onical.com,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] usb: gadget: function: fix missing spinlock in
f_uac1_legacy
On Sun, Jul 05, 2020 at 02:16:16PM +0800, qiang.zhang@...driver.com wrote:
> From: Zhang Qiang <qiang.zhang@...driver.com>
>
> Add a missing spinlock protection to the add operation of the "audio->play_queue"
> in "f_audio_out_ep_complete" function.
That says _what_ you did, but not _why_ you did that. Why is a lock
needed here? What does this protect?
What kernel commit does this "fix"? Put that in the "Fixes:" line, and
probably you need a "cc: stable" in that area too, right?
thanks,
greg k-h
Powered by blists - more mailing lists