summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2016-08-11 02:39:03 (GMT)
committerLee Jones <lee.jones@linaro.org>2016-10-04 14:48:02 (GMT)
commit8dcc5ff8fcaf778bb57ab4448fedca9e381d088f (patch)
tree6ba2a410b7d73054b39c6f832c7e2d91f7afaebb /COPYING
parent09185a5999c733ec37220ad4a0baa7598a2044d2 (diff)
downloadlinux-8dcc5ff8fcaf778bb57ab4448fedca9e381d088f.tar.xz
mfd: rtsx_usb: Avoid setting ucr->current_sg.status
Member "status" of struct usb_sg_request is managed by usb core. A spin lock is used to serialize the change of it. The driver could check the value of req->status, but should avoid changing it without the hold of the spinlock. Otherwise, it could cause race or error in usb core. This patch could be backported to stable kernels with version later than v3.14. Cc: stable@vger.kernel.org # 3.14+ Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Roger Tseng <rogerable@realtek.com> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions