Wei Yongjun 587e45deb2 usb: gadget: configfs: Fix missing spin_lock_init()
commit 093edc2baad2c258b1f55d1ab9c63c2b5ae67e42 upstream.

The driver allocates the spinlock but not initialize it.
Use spin_lock_init() on it to initialize it correctly.

This is detected by Coccinelle semantic patch.

Change-Id: Ibac3a73de582ea97c54d97d9d6104ee027cb446f
Fixes: 1a1c851bbd70 ("usb: gadget: configfs: fix concurrent issue between composite APIs")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Link: https://lore.kernel.org/r/20191030034046.188808-1-weiyongjun1@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: f777dd5b9540fe4640256615522c64219782c2c4
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
2020-02-12 03:58:57 -08:00
2019-11-14 14:25:57 +08:00
2019-10-06 12:38:20 +02:00
2018-09-10 09:21:07 +02:00
2019-11-14 14:25:57 +08:00
2019-08-06 19:18:05 +02:00
2019-11-14 14:25:57 +08:00
2019-11-14 14:25:57 +08:00
2019-11-14 14:25:57 +08:00
2019-11-14 14:25:57 +08:00
2018-02-13 12:53:38 +01:00
2019-11-14 14:25:57 +08:00

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 1.4 GiB
Languages
C 98.1%
Assembly 1.2%
Makefile 0.3%