USB: add SPDX identifiers to all files in drivers/usb/
Subsystems (54)
Greg Kroah-Hartman
maintainerPATCH 1/1 USB: add SPDX identifiers to all files in drivers/usb/
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. This patch adds these identifiers to all files in drivers/usb/ based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
---
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.
drivers/usb/Makefile +1 -0
@@ -1,6 +1,7 @@ # # Makefile for the kernel USB device drivers. # +# SPDX-License-Identifier: GPL-2.0 # Object files in subdirectories
drivers/usb/atm/Makefile +1 -0
@@ -1,6 +1,7 @@ # # Makefile for USB ATM/xDSL drivers # +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_USB_CXACRU) += cxacru.o obj-$(CONFIG_USB_SPEEDTOUCH) += speedtch.o obj-$(CONFIG_USB_UEAGLEATM) += ueagle-atm.o
drivers/usb/atm/cxacru.c +1 -0
@@ -21,6 +21,7 @@* this program; if not, write to the Free Software Foundation, Inc., 59 * Temple Place - Suite 330, Boston, MA 02111-1307, USA. * +* SPDX-License-Identifier: GPL-2.0+ ******************************************************************************/ /*
drivers/usb/atm/speedtch.c +1 -0
@@ -21,6 +21,7 @@* this program; if not, write to the Free Software Foundation, Inc., 59 * Temple Place - Suite 330, Boston, MA 02111-1307, USA. * +* SPDX-License-Identifier: GPL-2.0+ ******************************************************************************/ #include <asm/page.h>
drivers/usb/atm/ueagle-atm.c +2 -0
@@ -53,6 +53,8 @@* Damien Bergamini agree to put his code under a DUAL GPL/BSD license. * * The rest of the code was was rewritten from scratch. +* +* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ #include <linux/module.h>
drivers/usb/atm/usbatm.c +1 -0
@@ -19,6 +19,7 @@* this program; if not, write to the Free Software Foundation, Inc., 59 * Temple Place - Suite 330, Boston, MA 02111-1307, USA. * +* SPDX-License-Identifier: GPL-2.0+ ******************************************************************************/ /*
drivers/usb/atm/usbatm.h +1 -0
@@ -19,6 +19,7 @@* this program; if not, write to the Free Software Foundation, Inc., 59 * Temple Place - Suite 330, Boston, MA 02111-1307, USA. * +* SPDX-License-Identifier: GPL-2.0+ ******************************************************************************/ #ifndef _USBATM_H_
drivers/usb/atm/xusbatm.c +1 -0
@@ -17,6 +17,7 @@* this program; if not, write to the Free Software Foundation, Inc., 59 * Temple Place - Suite 330, Boston, MA 02111-1307, USA. * +* SPDX-License-Identifier: GPL-2.0+ ******************************************************************************/ #include <linux/module.h>
drivers/usb/c67x00/c67x00-drv.c +2 -0
@@ -19,6 +19,8 @@* along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301 USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ /*
drivers/usb/c67x00/c67x00-hcd.c +2 -0
@@ -19,6 +19,8 @@* along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301 USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/device.h>
drivers/usb/c67x00/c67x00-hcd.h +2 -0
@@ -19,6 +19,8 @@* along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301 USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _USB_C67X00_HCD_H
drivers/usb/c67x00/c67x00-ll-hpi.c +2 -0
@@ -19,6 +19,8 @@* along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301 USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <asm/byteorder.h>
drivers/usb/c67x00/c67x00-sched.c +2 -0
@@ -19,6 +19,8 @@* along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301 USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kthread.h>
drivers/usb/c67x00/c67x00.h +2 -0
@@ -19,6 +19,8 @@* along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301 USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _USB_C67X00_H
drivers/usb/chipidea/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o ci_hdrc-y := core.o otg.o debug.o
drivers/usb/chipidea/bits.h +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __DRIVERS_USB_CHIPIDEA_BITS_H
drivers/usb/chipidea/ci.h +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __DRIVERS_USB_CHIPIDEA_CI_H
drivers/usb/chipidea/ci_hdrc_imx.c +2 -0
@@ -9,6 +9,8 @@* * http://www.opensource.org/licenses/gpl-license.html * http://www.gnu.org/copyleft/gpl.html +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h>
drivers/usb/chipidea/ci_hdrc_imx.h +2 -0
@@ -7,6 +7,8 @@* * http://www.opensource.org/licenses/gpl-license.html * http://www.gnu.org/copyleft/gpl.html +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
drivers/usb/chipidea/ci_hdrc_msm.c +2 -0
@@ -3,6 +3,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h>
drivers/usb/chipidea/ci_hdrc_pci.c +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/platform_device.h>
drivers/usb/chipidea/ci_hdrc_usb2.c +2 -0
@@ -6,6 +6,8 @@* This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/clk.h>
drivers/usb/chipidea/ci_hdrc_zevio.c +2 -0
@@ -7,6 +7,8 @@* * Based off drivers/usb/chipidea/ci_hdrc_msm.c * +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h>
drivers/usb/chipidea/core.c +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/usb/chipidea/debug.c +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/device.h> #include <linux/types.h>
drivers/usb/chipidea/host.c +2 -0
@@ -17,6 +17,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h>
drivers/usb/chipidea/host.h +1 -0
@@ -1,5 +1,6 @@#ifndef __DRIVERS_USB_CHIPIDEA_HOST_H#define __DRIVERS_USB_CHIPIDEA_HOST_H +/* SPDX-License-Identifier: GPL-2.0 */ #ifdef CONFIG_USB_CHIPIDEA_HOST
drivers/usb/chipidea/otg.c +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/usb/chipidea/otg.h +2 -0
@@ -6,6 +6,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __DRIVERS_USB_CHIPIDEA_OTG_H
drivers/usb/chipidea/otg_fsm.c +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/usb/chipidea/otg_fsm.h +2 -0
@@ -6,6 +6,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __DRIVERS_USB_CHIPIDEA_OTG_FSM_H
drivers/usb/chipidea/udc.c +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/delay.h>
drivers/usb/chipidea/udc.h +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __DRIVERS_USB_CHIPIDEA_UDC_H
drivers/usb/chipidea/ulpi.c +2 -0
@@ -9,6 +9,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/device.h>
drivers/usb/chipidea/usbmisc_imx.c +2 -0
@@ -7,6 +7,8 @@* * http://www.opensource.org/licenses/gpl-license.html * http://www.gnu.org/copyleft/gpl.html +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h>
drivers/usb/class/cdc-acm.c +2 -0
@@ -26,6 +26,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +* +* SPDX-License-Identifier: GPL-2.0+ */ #undef DEBUG
drivers/usb/class/cdc-acm.h +2 -0
@@ -4,6 +4,8 @@* * Mainly take from usbnet's cdc-ether part * +* +* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/usb/class/cdc-wdm.c +2 -0
@@ -10,6 +10,8 @@* Released under the GPLv2. * * Many thanks to Carl Nordbeck +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/errno.h>
drivers/usb/class/usblp.c +2 -0
@@ -29,6 +29,8 @@* v0.13 - alloc space for statusbuf (<status> not on stack); * use usb_alloc_coherent() for read buf & write buf; * none - Maintained in Linux kernel after v0.13 +* +* SPDX-License-Identifier: GPL-2.0+ */ /*
drivers/usb/class/usbtmc.c +2 -0
@@ -17,6 +17,8 @@* * The GNU General Public License is available at * http://www.gnu.org/copyleft/gpl.html. +* +* SPDX-License-Identifier: GPL-2.0+ */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt
drivers/usb/common/Makefile +1 -0
@@ -1,6 +1,7 @@ # # Makefile for the usb common parts. # +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_USB_COMMON) += usb-common.o usb-common-y += common.o
drivers/usb/common/common.c +2 -0
@@ -9,6 +9,8 @@* (ie. CONFIG_USB_GADGET=y) is compiled in the kernel, this module is * compiled-in as well. Otherwise, if either of the two stacks is * compiled as module, this file is compiled as module as well. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h>
drivers/usb/common/led.c +2 -0
@@ -7,6 +7,8 @@* it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h>
drivers/usb/common/ulpi.c +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/ulpi/interface.h>
drivers/usb/common/usb-otg-fsm.c +2 -0
@@ -19,6 +19,8 @@* You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h>
drivers/usb/core/Makefile +1 -0
@@ -1,6 +1,7 @@ # # Makefile for USB Core files and filesystem # +# SPDX-License-Identifier: GPL-2.0 usbcore-y := usb.o hub.o hcd.o urb.o message.o driver.o usbcore-y += config.o file.o buffer.o sysfs.o endpoint.o
drivers/usb/core/devices.c +2 -0
@@ -47,6 +47,8 @@* 2000-07-05: Ashley Montanaro <[email protected]> * Converted file reading routine to dump to buffer once * per device, not per bus +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/fs.h>
drivers/usb/core/devio.c +5 -1
@@ -1,4 +1,8 @@ -/*****************************************************************************/ +/* +* *************************************************************************** +* +* SPDX-License-Identifier: GPL-2.0+ +*/ /* * devio.c -- User space communication with USB devices.
drivers/usb/core/hcd-pci.c +2 -0
@@ -14,6 +14,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/core/hcd.c +2 -0
@@ -20,6 +20,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/bcd.h>
drivers/usb/core/hub.h +2 -0
@@ -17,6 +17,8 @@* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/usb.h>
drivers/usb/core/ledtrig-usbport.c +2 -0
@@ -6,6 +6,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/device.h>
drivers/usb/core/of.c +2 -0
@@ -15,6 +15,8 @@* * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/of.h>
drivers/usb/core/otg_whitelist.h +2 -0
@@ -7,6 +7,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /*
drivers/usb/core/port.c +2 -0
@@ -14,6 +14,8 @@* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/slab.h>
drivers/usb/core/quirks.c +2 -0
@@ -9,6 +9,8 @@* Software Foundation, version 2. * * +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/usb.h>
drivers/usb/core/usb-acpi.c +2 -0
@@ -7,6 +7,8 @@* under the terms of the GNU General Public License as published by the Free * Software Foundation, version 2. * +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h> #include <linux/usb.h>
drivers/usb/dwc2/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 ccflags-$(CONFIG_USB_DWC2_DEBUG) += -DDEBUG ccflags-$(CONFIG_USB_DWC2_VERBOSE) += -DVERBOSE_DEBUG
drivers/usb/dwc2/core.c +2 -0
@@ -32,6 +32,8 @@* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /*
drivers/usb/dwc2/core.h +2 -0
@@ -32,6 +32,8 @@* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ #ifndef __DWC2_CORE_H__
drivers/usb/dwc2/core_intr.c +2 -0
@@ -32,6 +32,8 @@* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /*
drivers/usb/dwc2/debug.h +2 -0
@@ -12,6 +12,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include "core.h"
drivers/usb/dwc2/debugfs.c +2 -0
@@ -12,6 +12,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/spinlock.h>
drivers/usb/dwc2/gadget.c +2 -0
@@ -12,6 +12,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h>
drivers/usb/dwc2/hcd.c +2 -0
@@ -32,6 +32,8 @@* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /*
drivers/usb/dwc2/hcd.h +2 -0
@@ -32,6 +32,8 @@* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ #ifndef __DWC2_HCD_H__#define __DWC2_HCD_H__
drivers/usb/dwc2/hcd_ddma.c +2 -0
@@ -32,6 +32,8 @@* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /*
drivers/usb/dwc2/hcd_intr.c +2 -0
@@ -32,6 +32,8 @@* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /*
drivers/usb/dwc2/hcd_queue.c +2 -0
@@ -32,6 +32,8 @@* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /*
drivers/usb/dwc2/hw.h +2 -0
@@ -32,6 +32,8 @@* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ #ifndef __DWC2_HW_H__
drivers/usb/dwc2/params.c +2 -0
@@ -30,6 +30,8 @@* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ #include <linux/kernel.h>
drivers/usb/dwc2/pci.c +2 -0
@@ -32,6 +32,8 @@* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /*
drivers/usb/dwc2/platform.c +2 -0
@@ -32,6 +32,8 @@* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ #include <linux/kernel.h>
drivers/usb/dwc3/Makefile +1 -0
@@ -1,4 +1,5 @@ # define_trace.h needs to know how to find our header +# SPDX-License-Identifier: GPL-2.0 CFLAGS_trace.o := -I$(src) obj-$(CONFIG_USB_DWC3) += dwc3.o
drivers/usb/dwc3/core.c +2 -0
@@ -17,6 +17,8 @@* * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/version.h>
drivers/usb/dwc3/core.h +2 -0
@@ -14,6 +14,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __DRIVERS_USB_DWC3_CORE_H
drivers/usb/dwc3/debug.h +2 -0
@@ -14,6 +14,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __DWC3_DEBUG_H
drivers/usb/dwc3/debugfs.c +2 -0
@@ -14,6 +14,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h>
drivers/usb/dwc3/drd.c +2 -0
@@ -16,6 +16,8 @@* * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/extcon.h>
drivers/usb/dwc3/dwc3-exynos.c +2 -0
@@ -14,6 +14,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h>
drivers/usb/dwc3/dwc3-keystone.c +2 -0
@@ -13,6 +13,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h>
drivers/usb/dwc3/dwc3-of-simple.c +2 -0
@@ -17,6 +17,8 @@* This is a combination of the old dwc3-qcom.c by Ivan T. Ivanov * <[email protected]> and the original patch adding support for Xilinx' SoC * by Subbaraya Sundeep Bhatta <[email protected]> +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h>
drivers/usb/dwc3/dwc3-omap.c +2 -0
@@ -14,6 +14,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h>
drivers/usb/dwc3/dwc3-pci.c +2 -0
@@ -14,6 +14,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h>
drivers/usb/dwc3/dwc3-st.c +2 -0
@@ -16,6 +16,8 @@* (at your option) any later version. * * Inspired by dwc3-omap.c and dwc3-exynos.c. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/delay.h>
drivers/usb/dwc3/ep0.c +2 -0
@@ -14,6 +14,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h>
drivers/usb/dwc3/gadget.c +2 -0
@@ -14,6 +14,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h>
drivers/usb/dwc3/gadget.h +2 -0
@@ -14,6 +14,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __DRIVERS_USB_DWC3_GADGET_H
drivers/usb/dwc3/host.c +2 -0
@@ -13,6 +13,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/platform_device.h>
drivers/usb/dwc3/io.h +2 -0
@@ -14,6 +14,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __DRIVERS_USB_DWC3_IO_H
drivers/usb/dwc3/trace.c +2 -0
@@ -13,6 +13,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #define CREATE_TRACE_POINTS
drivers/usb/dwc3/trace.h +2 -0
@@ -13,6 +13,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #undef TRACE_SYSTEM
drivers/usb/dwc3/ulpi.c +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/ulpi/regs.h>
drivers/usb/early/ehci-dbgp.c +2 -0
@@ -9,6 +9,8 @@* Jason Wessel <[email protected]> * Copyright (C) 2009 Wind River Systems, Inc. * +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/console.h>
drivers/usb/early/xhci-dbc.c +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #define pr_fmt (fmt) KBUILD_MODNAME ":%s: " fmt, __func__
drivers/usb/early/xhci-dbc.h +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_XHCI_DBC_H
drivers/usb/gadget/Makefile +1 -0
@@ -1,6 +1,7 @@ # # USB peripheral controller drivers # +# SPDX-License-Identifier: GPL-2.0 subdir-ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG subdir-ccflags-$(CONFIG_USB_GADGET_VERBOSE) += -DVERBOSE_DEBUG ccflags-y += -I$(srctree)/drivers/usb/gadget/udc
drivers/usb/gadget/composite.c +2 -0
@@ -7,6 +7,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* #define VERBOSE_DEBUG */
drivers/usb/gadget/config.c +2 -0
@@ -7,6 +7,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/errno.h>
drivers/usb/gadget/configfs.c +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/configfs.h> #include <linux/module.h> #include <linux/slab.h>
drivers/usb/gadget/configfs.h +1 -0
@@ -1,5 +1,6 @@#ifndef USB__GADGET__CONFIGFS__H #define USB__GADGET__CONFIGFS__H +/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/configfs.h>
drivers/usb/gadget/epautoconf.c +2 -0
@@ -7,6 +7,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/function/Makefile +1 -0
@@ -1,6 +1,7 @@ # # USB peripheral controller drivers # +# SPDX-License-Identifier: GPL-2.0 ccflags-y := -I$(srctree)/drivers/usb/gadget/ ccflags-y += -I$(srctree)/drivers/usb/gadget/udc/
drivers/usb/gadget/function/f_acm.c +2 -0
@@ -10,6 +10,8 @@* This software is distributed under the terms of the GNU General * Public License ("GPL") as published by the Free Software Foundation, * either version 2 of that License or (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* #define VERBOSE_DEBUG */
drivers/usb/gadget/function/f_ecm.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* #define VERBOSE_DEBUG */
drivers/usb/gadget/function/f_eem.c +2 -0
@@ -9,6 +9,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/function/f_fs.c +2 -0
@@ -12,6 +12,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */
drivers/usb/gadget/function/f_hid.c +2 -0
@@ -7,6 +7,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/function/f_loopback.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* #define VERBOSE_DEBUG */
drivers/usb/gadget/function/f_mass_storage.c +2 -0
@@ -35,6 +35,8 @@* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +* +* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /*
drivers/usb/gadget/function/f_mass_storage.h +1 -0
@@ -1,5 +1,6 @@#ifndef USB_F_MASS_STORAGE_H #define USB_F_MASS_STORAGE_H +/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/usb/composite.h> #include "storage_common.h"
drivers/usb/gadget/function/f_midi.c +2 -0
@@ -17,6 +17,8 @@* Ben Williamson <[email protected]> * * Licensed under the GPL-2 or later. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/function/f_ncm.c +2 -0
@@ -13,6 +13,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/function/f_obex.c +2 -0
@@ -10,6 +10,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* #define VERBOSE_DEBUG */
drivers/usb/gadget/function/f_phonet.c +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/mm.h>
drivers/usb/gadget/function/f_printer.c +2 -0
@@ -13,6 +13,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h>
drivers/usb/gadget/function/f_rndis.c +2 -0
@@ -11,6 +11,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* #define VERBOSE_DEBUG */
drivers/usb/gadget/function/f_serial.c +2 -0
@@ -8,6 +8,8 @@* This software is distributed under the terms of the GNU General * Public License ("GPL") as published by the Free Software Foundation, * either version 2 of that License or (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/slab.h>
drivers/usb/gadget/function/f_sourcesink.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* #define VERBOSE_DEBUG */
drivers/usb/gadget/function/f_subset.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/slab.h>
drivers/usb/gadget/function/f_tcm.c +2 -0
@@ -5,6 +5,8 @@* * Author: Sebastian Andrzej Siewior <bigeasy at linutronix dot de> * License: GPLv2 as published by FSF. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/module.h>
drivers/usb/gadget/function/f_uac1.c +2 -0
@@ -15,6 +15,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/usb/audio.h>
drivers/usb/gadget/function/f_uac1_legacy.c +2 -0
@@ -7,6 +7,8 @@* Enter bugs at http://blackfin.uclinux.org/ * * Licensed under the GPL-2 or later. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/slab.h>
drivers/usb/gadget/function/f_uac2.c +2 -0
@@ -9,6 +9,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/usb/audio.h>
drivers/usb/gadget/function/f_uvc.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/function/f_uvc.h +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _F_UVC_H_
drivers/usb/gadget/function/g_zero.h +2 -0
@@ -1,6 +1,8 @@/* * This header declares the utility functions used by "Gadget Zero", plus * interfaces to its two single-configuration function drivers. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __G_ZERO_H
drivers/usb/gadget/function/rndis.c +2 -0
@@ -19,6 +19,8 @@* * Copyright (C) 2004 by David Brownell * updates to merge with Linux 2.6, better match RNDIS spec +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h>
drivers/usb/gadget/function/rndis.h +2 -0
@@ -10,6 +10,8 @@* * This software was originally developed in conformance with * Microsoft's Remote NDIS Specification License Agreement. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_RNDIS_H
drivers/usb/gadget/function/storage_common.c +2 -0
@@ -9,6 +9,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /*
drivers/usb/gadget/function/storage_common.h +1 -0
@@ -1,5 +1,6 @@#ifndef USB_STORAGE_COMMON_H #define USB_STORAGE_COMMON_H +/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/device.h> #include <linux/usb/storage.h>
drivers/usb/gadget/function/tcm.h +1 -0
@@ -1,5 +1,6 @@#ifndef __TARGET_USB_GADGET_H__#define __TARGET_USB_GADGET_H__ +/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kref.h> /* #include <linux/usb/uas.h> */
drivers/usb/gadget/function/u_audio.c +2 -0
@@ -19,6 +19,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h>
drivers/usb/gadget/function/u_audio.h +2 -0
@@ -14,6 +14,8 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __U_AUDIO_H
drivers/usb/gadget/function/u_ecm.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef U_ECM_H
drivers/usb/gadget/function/u_eem.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef U_EEM_H
drivers/usb/gadget/function/u_ether.c +2 -0
@@ -9,6 +9,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* #define VERBOSE_DEBUG */
drivers/usb/gadget/function/u_ether.h +2 -0
@@ -9,6 +9,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __U_ETHER_H
drivers/usb/gadget/function/u_ether_configfs.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __U_ETHER_CONFIGFS_H
drivers/usb/gadget/function/u_fs.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef U_FFS_H
drivers/usb/gadget/function/u_gether.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef U_GETHER_H
drivers/usb/gadget/function/u_hid.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef U_HID_H
drivers/usb/gadget/function/u_midi.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef U_MIDI_H
drivers/usb/gadget/function/u_ncm.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef U_NCM_H
drivers/usb/gadget/function/u_phonet.h +2 -0
@@ -6,6 +6,8 @@* This software is distributed under the terms of the GNU General * Public License ("GPL") as published by the Free Software Foundation, * either version 2 of that License or (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __U_PHONET_H
drivers/usb/gadget/function/u_printer.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef U_PRINTER_H
drivers/usb/gadget/function/u_rndis.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef U_RNDIS_H
drivers/usb/gadget/function/u_serial.c +2 -0
@@ -13,6 +13,8 @@* This software is distributed under the terms of the GNU General * Public License ("GPL") as published by the Free Software Foundation, * either version 2 of that License or (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* #define VERBOSE_DEBUG */
drivers/usb/gadget/function/u_serial.h +2 -0
@@ -7,6 +7,8 @@* This software is distributed under the terms of the GNU General * Public License ("GPL") as published by the Free Software Foundation, * either version 2 of that License or (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __U_SERIAL_H
drivers/usb/gadget/function/u_tcm.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef U_TCM_H
drivers/usb/gadget/function/u_uac1.h +2 -0
@@ -6,6 +6,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __U_UAC1_H
drivers/usb/gadget/function/u_uac1_legacy.c +2 -0
@@ -7,6 +7,8 @@* Enter bugs at http://blackfin.uclinux.org/ * * Licensed under the GPL-2 or later. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/function/u_uac1_legacy.h +2 -0
@@ -7,6 +7,8 @@* Enter bugs at http://blackfin.uclinux.org/ * * Licensed under the GPL-2 or later. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __U_UAC1_LEGACY_H
drivers/usb/gadget/function/u_uac2.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef U_UAC2_H
drivers/usb/gadget/function/u_uvc.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef U_UVC_H
drivers/usb/gadget/function/uvc.h +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _UVC_GADGET_H_
drivers/usb/gadget/function/uvc_configfs.c +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include "u_uvc.h" #include "uvc_configfs.h"
drivers/usb/gadget/function/uvc_configfs.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef UVC_CONFIGFS_H #define UVC_CONFIGFS_H
drivers/usb/gadget/function/uvc_queue.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/atomic.h>
drivers/usb/gadget/function/uvc_queue.h +1 -0
@@ -1,5 +1,6 @@#ifndef _UVC_QUEUE_H_#define _UVC_QUEUE_H_ +/* SPDX-License-Identifier: GPL-2.0 */ #ifdef __KERNEL__
drivers/usb/gadget/function/uvc_v4l2.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/function/uvc_v4l2.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __UVC_V4L2_H__
drivers/usb/gadget/function/uvc_video.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/function/uvc_video.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __UVC_VIDEO_H__#define __UVC_VIDEO_H__
drivers/usb/gadget/functions.c +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/module.h>
drivers/usb/gadget/legacy/Makefile +1 -0
@@ -1,6 +1,7 @@ # # USB gadget drivers # +# SPDX-License-Identifier: GPL-2.0 ccflags-y := -I$(srctree)/drivers/usb/gadget/ ccflags-y += -I$(srctree)/drivers/usb/gadget/udc/
drivers/usb/gadget/legacy/acm_ms.c +2 -0
@@ -12,6 +12,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/legacy/audio.c +2 -0
@@ -7,6 +7,8 @@* Enter bugs at http://blackfin.uclinux.org/ * * Licensed under the GPL-2 or later. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* #define VERBOSE_DEBUG */
drivers/usb/gadget/legacy/cdc2.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/legacy/dbgp.c +2 -0
@@ -4,6 +4,8 @@* Copyright (C) 2010 Stephane Duverger * * Released under the GPLv2. +* +* SPDX-License-Identifier: GPL-2.0 */ /* verbose messages */
drivers/usb/gadget/legacy/ether.c +2 -0
@@ -9,6 +9,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* #define VERBOSE_DEBUG */
drivers/usb/gadget/legacy/g_ffs.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #define pr_fmt (fmt) "g_ffs: " fmt
drivers/usb/gadget/legacy/gmidi.c +2 -0
@@ -16,6 +16,8 @@* * Refer to the USB Device Class Definition for MIDI Devices: * http://www.usb.org/developers/devclass_docs/midi10.pdf +* +* SPDX-License-Identifier: GPL-2.0 */ /* #define VERBOSE_DEBUG */
drivers/usb/gadget/legacy/hid.c +2 -0
@@ -9,6 +9,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */
drivers/usb/gadget/legacy/inode.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */
drivers/usb/gadget/legacy/mass_storage.c +2 -0
@@ -10,6 +10,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */
drivers/usb/gadget/legacy/multi.c +2 -0
@@ -10,6 +10,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */
drivers/usb/gadget/legacy/ncm.c +2 -0
@@ -14,6 +14,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* #define DEBUG */
drivers/usb/gadget/legacy/nokia.c +2 -0
@@ -13,6 +13,8 @@* This software is distributed under the terms of the GNU General * Public License ("GPL") as published by the Free Software Foundation, * version 2 of that License. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h>
drivers/usb/gadget/legacy/printer.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h>
drivers/usb/gadget/legacy/serial.c +2 -0
@@ -8,6 +8,8 @@* This software is distributed under the terms of the GNU General * Public License ("GPL") as published by the Free Software Foundation, * either version 2 of that License or (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/legacy/tcm_usb_gadget.c +2 -0
@@ -5,6 +5,8 @@* * Author: Sebastian Andrzej Siewior <bigeasy at linutronix dot de> * License: GPLv2 as published by FSF. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/module.h>
drivers/usb/gadget/legacy/webcam.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/legacy/zero.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /*
drivers/usb/gadget/u_f.c +2 -0
@@ -9,6 +9,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include "u_f.h"
drivers/usb/gadget/u_f.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __U_F_H__
drivers/usb/gadget/u_os_desc.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __U_OS_DESC_H__
drivers/usb/gadget/udc/Makefile +1 -0
@@ -1,4 +1,5 @@ # define_trace.h needs to know how to find our header +# SPDX-License-Identifier: GPL-2.0 CFLAGS_trace.o := -I$(src) udc-core-y := core.o trace.o
drivers/usb/gadget/udc/amd5536udc.h +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef AMD5536UDC_H
drivers/usb/gadget/udc/amd5536udc_pci.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /*
drivers/usb/gadget/udc/at91_udc.c +2 -0
@@ -9,6 +9,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #undef VERBOSE_DEBUG
drivers/usb/gadget/udc/at91_udc.h +2 -0
@@ -7,6 +7,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef AT91_UDC_H
drivers/usb/gadget/udc/atmel_usba_udc.c +2 -0
@@ -6,6 +6,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/clk.h> #include <linux/clk/at91_pmc.h>
drivers/usb/gadget/udc/atmel_usba_udc.h +2 -0
@@ -6,6 +6,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_USB_GADGET_USBA_UDC_H__#define __LINUX_USB_GADGET_USBA_UDC_H__
drivers/usb/gadget/udc/bcm63xx_udc.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/bitops.h>
drivers/usb/gadget/udc/bdc/Makefile +1 -0
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_USB_BDC_UDC) += bdc.o bdc-y := bdc_core.o bdc_cmd.o bdc_ep.o bdc_udc.o
drivers/usb/gadget/udc/bdc/bdc.h +2 -0
@@ -10,6 +10,8 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __LINUX_BDC_H__
drivers/usb/gadget/udc/bdc/bdc_cmd.c +2 -0
@@ -10,6 +10,8 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/scatterlist.h> #include <linux/slab.h>
drivers/usb/gadget/udc/bdc/bdc_cmd.h +2 -0
@@ -10,6 +10,8 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __LINUX_BDC_CMD_H__#define __LINUX_BDC_CMD_H__
drivers/usb/gadget/udc/bdc/bdc_core.c +2 -0
@@ -10,6 +10,8 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h> #include <linux/kernel.h>
drivers/usb/gadget/udc/bdc/bdc_dbg.c +2 -0
@@ -10,6 +10,8 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #include "bdc.h"
drivers/usb/gadget/udc/bdc/bdc_dbg.h +2 -0
@@ -10,6 +10,8 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __LINUX_BDC_DBG_H__#define __LINUX_BDC_DBG_H__
drivers/usb/gadget/udc/bdc/bdc_ep.c +2 -0
@@ -12,6 +12,8 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h> #include <linux/pci.h>
drivers/usb/gadget/udc/bdc/bdc_ep.h +2 -0
@@ -10,6 +10,8 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __LINUX_BDC_EP_H__#define __LINUX_BDC_EP_H__
drivers/usb/gadget/udc/bdc/bdc_pci.c +2 -0
@@ -12,6 +12,8 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/udc/bdc/bdc_udc.c +2 -0
@@ -12,6 +12,8 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h> #include <linux/pci.h>
drivers/usb/gadget/udc/core.c +2 -0
@@ -15,6 +15,8 @@* * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h>
drivers/usb/gadget/udc/dummy_hcd.c +2 -0
@@ -10,6 +10,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */
drivers/usb/gadget/udc/fotg210-udc.c +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/dma-mapping.h>
drivers/usb/gadget/udc/fotg210.h +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/gadget/udc/fsl_mxc_udc.c +2 -0
@@ -10,6 +10,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/clk.h> #include <linux/delay.h>
drivers/usb/gadget/udc/fsl_qe_udc.c +2 -0
@@ -16,6 +16,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #undef USB_TRACE
drivers/usb/gadget/udc/fsl_qe_udc.h +2 -0
@@ -13,6 +13,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __FSL_QE_UDC_H
drivers/usb/gadget/udc/fsl_udc_core.c +2 -0
@@ -15,6 +15,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #undef VERBOSE
drivers/usb/gadget/udc/fsl_usb2_udc.h +2 -0
@@ -8,6 +8,8 @@* option) any later version. * * Freescale USB device/endpoint management registers +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __FSL_USB2_UDC_H#define __FSL_USB2_UDC_H
drivers/usb/gadget/udc/fusb300_udc.c +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/dma-mapping.h> #include <linux/err.h>
drivers/usb/gadget/udc/fusb300_udc.h +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. +* +* SPDX-License-Identifier: GPL-2.0 */
drivers/usb/gadget/udc/goku_udc.c +2 -0
@@ -9,6 +9,8 @@* This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. +* +* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/usb/gadget/udc/goku_udc.h +2 -0
@@ -9,6 +9,8 @@* This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. +* +* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/usb/gadget/udc/gr_udc.c +2 -0
@@ -17,6 +17,8 @@* Contributors: * - Andreas Larsson <[email protected]> * - Marko Isomaki +* +* SPDX-License-Identifier: GPL-2.0+ */ /*
drivers/usb/gadget/udc/gr_udc.h +2 -0
@@ -17,6 +17,8 @@* Contributors: * - Andreas Larsson <[email protected]> * - Marko Isomaki +* +* SPDX-License-Identifier: GPL-2.0+ */ /* Control registers on the AMBA bus */
drivers/usb/gadget/udc/lpc32xx_udc.c +2 -0
@@ -26,6 +26,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/clk.h>
drivers/usb/gadget/udc/m66592-udc.c +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h>
drivers/usb/gadget/udc/m66592-udc.h +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __M66592_UDC_H__
drivers/usb/gadget/udc/mv_u3d.h +2 -0
@@ -4,6 +4,8 @@* This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MV_U3D_H
drivers/usb/gadget/udc/mv_u3d_core.c +2 -0
@@ -4,6 +4,8 @@* This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h>
drivers/usb/gadget/udc/mv_udc.h +2 -0
@@ -5,6 +5,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __MV_UDC_H
drivers/usb/gadget/udc/mv_udc_core.c +2 -0
@@ -7,6 +7,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h>
drivers/usb/gadget/udc/net2272.c +2 -0
@@ -17,6 +17,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/delay.h>
drivers/usb/gadget/udc/net2272.h +2 -0
@@ -17,6 +17,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __NET2272_H__
drivers/usb/gadget/udc/net2280.c +2 -0
@@ -19,6 +19,8 @@* * Note that almost all the errata workarounds here are only needed for * rev1 chips. Rev1a silicon (0110) fixes almost all of them. +* +* SPDX-License-Identifier: GPL-2.0+ */ /*
drivers/usb/gadget/udc/net2280.h +2 -0
@@ -1,6 +1,8 @@/* * NetChip 2280 high/full speed USB device controller. * Unlike many such controllers, this one talks PCI. +* +* SPDX-License-Identifier: GPL-2.0+ */ /*
drivers/usb/gadget/udc/omap_udc.c +2 -0
@@ -10,6 +10,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #undef DEBUG
drivers/usb/gadget/udc/omap_udc.h +2 -0
@@ -3,6 +3,8 @@* * 2004 (C) Texas Instruments, Inc. * 2004 (C) David Brownell +* +* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/usb/gadget/udc/pch_udc.c +2 -0
@@ -4,6 +4,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. +* +* SPDX-License-Identifier: GPL-2.0 */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt#include <linux/kernel.h>
drivers/usb/gadget/udc/pxa25x_udc.c +2 -0
@@ -11,6 +11,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* #define VERBOSE_DEBUG */
drivers/usb/gadget/udc/pxa25x_udc.h +2 -0
@@ -9,6 +9,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __LINUX_USB_GADGET_PXA25X_H
drivers/usb/gadget/udc/pxa27x_udc.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h> #include <linux/kernel.h>
drivers/usb/gadget/udc/pxa27x_udc.h +2 -0
@@ -9,6 +9,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __LINUX_USB_GADGET_PXA27X_H
drivers/usb/gadget/udc/r8a66597-udc.c +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h>
drivers/usb/gadget/udc/r8a66597-udc.h +2 -0
@@ -8,6 +8,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __R8A66597_H__
drivers/usb/gadget/udc/renesas_usb3.c +2 -0
@@ -6,6 +6,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/debugfs.h>
drivers/usb/gadget/udc/s3c-hsudc.c +2 -0
@@ -12,6 +12,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h>
drivers/usb/gadget/udc/s3c2410_udc.c +2 -0
@@ -10,6 +10,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #define pr_fmt (fmt) "s3c2410_udc: " fmt
drivers/usb/gadget/udc/s3c2410_udc.h +2 -0
@@ -9,6 +9,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _S3C2410_UDC_H
drivers/usb/gadget/udc/snps_udc_core.c +2 -0
@@ -8,6 +8,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ /*
drivers/usb/gadget/udc/snps_udc_plat.c +2 -0
@@ -11,6 +11,8 @@* kind, whether express or implied; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/extcon.h>
drivers/usb/gadget/udc/trace.c +2 -0
@@ -12,6 +12,8 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #define CREATE_TRACE_POINTS
drivers/usb/gadget/udc/trace.h +2 -0
@@ -15,6 +15,8 @@* * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* SPDX-License-Identifier: GPL-2.0 */ #undef TRACE_SYSTEM
drivers/usb/gadget/udc/udc-xilinx.c +2 -0
@@ -14,6 +14,8 @@* License as published by the Free Software Foundation; * either version 2 of the License, or (at your option) any * later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/delay.h>
drivers/usb/gadget/usbstring.c +2 -0
@@ -5,6 +5,8 @@* it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. +* +* SPDX-License-Identifier: LGPL-2.1+ */ #include <linux/errno.h>
drivers/usb/host/Makefile +1 -0
@@ -1,6 +1,7 @@ # # Makefile for USB Host Controller Drivers # +# SPDX-License-Identifier: GPL-2.0 # tell define_trace.h where to find the xhci trace header CFLAGS_xhci-trace.o := -I$(src)
drivers/usb/host/bcma-hcd.c +2 -0
@@ -18,6 +18,8 @@* Copyright 2005-2011 Broadcom Corporation * * Licensed under the GNU/GPL. See COPYING for details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/bcma/bcma.h> #include <linux/delay.h>
drivers/usb/host/ehci-atmel.c +2 -0
@@ -9,6 +9,8 @@* This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive for * more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/clk.h>
drivers/usb/host/ehci-dbg.c +2 -0
@@ -11,6 +11,8 @@* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * +* +* SPDX-License-Identifier: GPL-2.0+ */ /* this file is part of ehci-hcd.c */
drivers/usb/host/ehci-exynos.c +2 -0
@@ -10,6 +10,8 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/clk.h>
drivers/usb/host/ehci-fsl.c +2 -0
@@ -21,6 +21,8 @@* Power Management support by Dave Liu <[email protected]>, * Jerry Huang <[email protected]> and * Anton Vorontsov <[email protected]>. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/host/ehci-fsl.h +2 -0
@@ -14,6 +14,8 @@* You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _EHCI_FSL_H#define _EHCI_FSL_H
drivers/usb/host/ehci-grlib.c +2 -0
@@ -23,6 +23,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/err.h>
drivers/usb/host/ehci-hcd.c +2 -0
@@ -18,6 +18,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h>
drivers/usb/host/ehci-hub.c +2 -0
@@ -14,6 +14,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* this file is part of ehci-hcd.c */
drivers/usb/host/ehci-mem.c +2 -0
@@ -14,6 +14,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* this file is part of ehci-hcd.c */
drivers/usb/host/ehci-msm.c +2 -0
@@ -20,6 +20,8 @@* See the GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program; if not, you can find it at http://www.fsf.org +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/clk.h>
drivers/usb/host/ehci-mv.c +2 -0
@@ -7,6 +7,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/host/ehci-mxc.c +2 -0
@@ -15,6 +15,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/host/ehci-omap.c +2 -0
@@ -29,6 +29,8 @@* along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/host/ehci-orion.c +2 -0
@@ -6,6 +6,8 @@* This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h>
drivers/usb/host/ehci-pci.c +2 -0
@@ -16,6 +16,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/host/ehci-platform.c +2 -0
@@ -18,6 +18,8 @@* Copyright 1999 Gregory P. Smith * * Licensed under the GNU/GPL. See COPYING for details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/acpi.h> #include <linux/clk.h>
drivers/usb/host/ehci-pmcmsp.c +2 -0
@@ -7,6 +7,8 @@* License. See the file "COPYING" in the main directory of this archive * for more details. * +* +* SPDX-License-Identifier: GPL-2.0 */ /* includes */
drivers/usb/host/ehci-ppc-of.c +2 -0
@@ -10,6 +10,8 @@* and "ohci-ppc-of.c" by Sylvain Munaut <[email protected]> * * This file is licenced under the GPL. +* +* SPDX-License-Identifier: GPL-1.0+ */ #include <linux/err.h>
drivers/usb/host/ehci-ps3.c +2 -0
@@ -16,6 +16,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +* +* SPDX-License-Identifier: GPL-2.0 */ #include <asm/firmware.h>
drivers/usb/host/ehci-q.c +2 -0
@@ -14,6 +14,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* this file is part of ehci-hcd.c */
drivers/usb/host/ehci-sched.c +2 -0
@@ -15,6 +15,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* this file is part of ehci-hcd.c */
drivers/usb/host/ehci-sh.c +2 -0
@@ -8,6 +8,8 @@* This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/platform_device.h> #include <linux/clk.h>
drivers/usb/host/ehci-spear.c +2 -0
@@ -9,6 +9,8 @@* This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive for * more details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/clk.h>
drivers/usb/host/ehci-st.c +2 -0
@@ -10,6 +10,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/clk.h>
drivers/usb/host/ehci-sysfs.c +2 -0
@@ -14,6 +14,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* this file is part of ehci-hcd.c */
drivers/usb/host/ehci-tegra.c +2 -0
@@ -14,6 +14,8 @@* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/clk.h>
drivers/usb/host/ehci-tilegx.c +2 -0
@@ -10,6 +10,8 @@* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or * NON INFRINGEMENT. See the GNU General Public License for * more details. +* +* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/usb/host/ehci-timer.c +2 -0
@@ -10,6 +10,8 @@* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* This file is part of ehci-hcd.c */
drivers/usb/host/ehci-w90x900.c +2 -0
@@ -9,6 +9,8 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation;version 2 of the License. * +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/dma-mapping.h>
drivers/usb/host/ehci-xilinx-of.c +2 -0
@@ -23,6 +23,8 @@* along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/err.h>
drivers/usb/host/ehci.h +2 -0
@@ -14,6 +14,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __LINUX_EHCI_HCD_H
drivers/usb/host/fhci-dbg.c +2 -0
@@ -13,6 +13,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/host/fhci-hcd.c +2 -0
@@ -13,6 +13,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h>
drivers/usb/host/fhci-hub.c +2 -0
@@ -13,6 +13,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/host/fhci-mem.c +2 -0
@@ -13,6 +13,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/host/fhci-q.c +2 -0
@@ -13,6 +13,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/host/fhci-sched.c +2 -0
@@ -13,6 +13,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/host/fhci-tds.c +2 -0
@@ -13,6 +13,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/host/fhci.h +2 -0
@@ -13,6 +13,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __FHCI_H
drivers/usb/host/fotg210-hcd.c +2 -0
@@ -21,6 +21,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h> #include <linux/device.h>
drivers/usb/host/fotg210.h +1 -0
@@ -1,5 +1,6 @@#ifndef __LINUX_FOTG210_H#define __LINUX_FOTG210_H +/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/usb/ehci-dbgp.h>
drivers/usb/host/fsl-mph-dr-of.c +2 -0
@@ -7,6 +7,8 @@* under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/kernel.h>
drivers/usb/host/hwa-hc.c +2 -0
@@ -52,6 +52,8 @@* [__]hwahc_op_*() Host-Wire-Adaptor specific functions for * starting/stopping/etc (some might be made also * DWA). +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/slab.h>
drivers/usb/host/imx21-dbg.c +2 -0
@@ -14,6 +14,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ /* this file is part of imx21-hcd.c */
drivers/usb/host/imx21-hcd.c +2 -0
@@ -19,6 +19,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */
drivers/usb/host/imx21-hcd.h +2 -0
@@ -19,6 +19,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #ifndef __LINUX_IMX21_HCD_H__
drivers/usb/host/isp116x-hcd.c +2 -0
@@ -11,6 +11,8 @@* Periodic scheduling is based on Roman's OHCI code * Copyright (C) 1999 Roman Weissgaerber * +* +* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/usb/host/isp116x.h +2 -0
@@ -6,6 +6,8 @@* Copyright (C) 2004 Lothar Wassmann * Copyright (C) 2004 Psion Teklogix * Copyright (C) 2004 David Brownell +* +* SPDX-License-Identifier: GPL-2.0 */ /* us of 1ms frame */
drivers/usb/host/isp1362-hcd.c +2 -0
@@ -9,6 +9,8 @@* Portions: * Copyright (C) 2004 Psion Teklogix (for NetBook PRO) * Copyright (C) 2004 David Brownell +* +* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/usb/host/isp1362.h +2 -0
@@ -2,6 +2,8 @@* ISP1362 HCD (Host Controller Driver) for USB. * * COPYRIGHT (C) by L. Wassmann <[email protected]> +* +* SPDX-License-Identifier: GPL-2.0 */ /* ------------------------------------------------------------------------- */
drivers/usb/host/max3421-hcd.c +2 -0
@@ -53,6 +53,8 @@* transactions while holding a spin-lock (and/or while interrupts are * masked). To achieve this, all SPI transactions are issued from a * single thread (max3421_spi_thread). +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/jiffies.h>
drivers/usb/host/ohci-at91.c +2 -0
@@ -10,6 +10,8 @@* Based on ohci-omap.c * * This file is licenced under the GPL. +* +* SPDX-License-Identifier: GPL-1.0+ */ #include <linux/clk.h>
drivers/usb/host/ohci-da8xx.c +2 -0
@@ -9,6 +9,8 @@* This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any warranty of any * kind, whether express or implied. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/clk.h>
drivers/usb/host/ohci-dbg.c +2 -0
@@ -5,6 +5,8 @@* (C) Copyright 2000-2002 David Brownell <[email protected]> * * This file is licenced under the GPL. +* +* SPDX-License-Identifier: GPL-1.0+ */ /*-------------------------------------------------------------------------*/
drivers/usb/host/ohci-exynos.c +2 -0
@@ -9,6 +9,8 @@* Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/clk.h>
drivers/usb/host/ohci-hcd.c +2 -0
@@ -18,6 +18,8 @@* through the http://www.usb.org website. * * This file is licenced under the GPL. +* +* SPDX-License-Identifier: GPL-1.0+ */ #include <linux/module.h>
drivers/usb/host/ohci-hub.c +2 -0
@@ -5,6 +5,8 @@* (C) Copyright 2000-2004 David Brownell <[email protected]> * * This file is licenced under GPL +* +* SPDX-License-Identifier: GPL-1.0+ */ /*-------------------------------------------------------------------------*/
drivers/usb/host/ohci-mem.c +2 -0
@@ -5,6 +5,8 @@* (C) Copyright 2000-2002 David Brownell <[email protected]> * * This file is licenced under the GPL. +* +* SPDX-License-Identifier: GPL-1.0+ */ /*-------------------------------------------------------------------------*/
drivers/usb/host/ohci-nxp.c +2 -0
@@ -17,6 +17,8 @@* the terms of the GNU General Public License version 2. This program * is licensed "as is" without any warranty of any kind, whether express * or implied. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/clk.h> #include <linux/dma-mapping.h>
drivers/usb/host/ohci-omap.c +2 -0
@@ -12,6 +12,8 @@* and on ohci-sa1111.c by Christopher Hoover <[email protected]> * * This file is licenced under the GPL. +* +* SPDX-License-Identifier: GPL-1.0+ */ #include <linux/clk.h>
drivers/usb/host/ohci-pci.c +2 -0
@@ -12,6 +12,8 @@* PCI Bus Glue * * This file is licenced under the GPL. +* +* SPDX-License-Identifier: GPL-1.0+ */ #include <linux/io.h>
drivers/usb/host/ohci-platform.c +2 -0
@@ -13,6 +13,8 @@* Copyright 1999 Gregory P. Smith * * Licensed under the GNU/GPL. See COPYING for details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/clk.h>
drivers/usb/host/ohci-ppc-of.c +2 -0
@@ -11,6 +11,8 @@* Modified for of_platform bus from ohci-sa1111.c * * This file is licenced under the GPL. +* +* SPDX-License-Identifier: GPL-1.0+ */ #include <linux/signal.h>
drivers/usb/host/ohci-ps3.c +2 -0
@@ -16,6 +16,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +* +* SPDX-License-Identifier: GPL-2.0 */ #include <asm/firmware.h>
drivers/usb/host/ohci-pxa27x.c +2 -0
@@ -17,6 +17,8 @@* by Nick Bane <[email protected]> 26-8-2004 * * This file is licenced under the GPL. +* +* SPDX-License-Identifier: GPL-1.0+ */ #include <linux/clk.h>
drivers/usb/host/ohci-q.c +2 -0
@@ -5,6 +5,8 @@* (C) Copyright 2000-2002 David Brownell <[email protected]> * * This file is licenced under the GPL. +* +* SPDX-License-Identifier: GPL-1.0+ */ #include <linux/irq.h>
drivers/usb/host/ohci-s3c2410.c +2 -0
@@ -17,6 +17,8 @@* Thanks to [email protected] for updates to newer kernels * * This file is licenced under the GPL. +* +* SPDX-License-Identifier: GPL-1.0+ */ #include <linux/clk.h>
drivers/usb/host/ohci-sa1111.c +2 -0
@@ -11,6 +11,8 @@* Based on fragments of previous driver by Russell King et al. * * This file is licenced under the GPL. +* +* SPDX-License-Identifier: GPL-1.0+ */ #include <asm/mach-types.h>
drivers/usb/host/ohci-sm501.c +2 -0
@@ -9,6 +9,8 @@* SM501 Bus Glue - based on ohci-omap.c * * This file is licenced under the GPL. +* +* SPDX-License-Identifier: GPL-1.0+ */ #include <linux/interrupt.h>
drivers/usb/host/ohci-spear.c +2 -0
@@ -9,6 +9,8 @@* This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/clk.h>
drivers/usb/host/ohci-st.c +2 -0
@@ -10,6 +10,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/clk.h>
drivers/usb/host/ohci-tilegx.c +2 -0
@@ -10,6 +10,8 @@* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or * NON INFRINGEMENT. See the GNU General Public License for * more details. +* +* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/usb/host/ohci-tmio.c +2 -0
@@ -22,6 +22,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ /*#include <linux/fs.h>
drivers/usb/host/ohci.h +2 -0
@@ -5,6 +5,8 @@* (C) Copyright 2000-2002 David Brownell <[email protected]> * * This file is licenced under the GPL. +* +* SPDX-License-Identifier: GPL-1.0+ */ /*
drivers/usb/host/oxu210hp-hcd.c +2 -0
@@ -18,6 +18,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */ #include <linux/module.h>
drivers/usb/host/oxu210hp.h +2 -0
@@ -1,5 +1,7 @@/* * Host interface registers +* +* SPDX-License-Identifier: GPL-2.0 */ #define OXU_DEVICEID 0x00
drivers/usb/host/pci-quirks.c +2 -0
@@ -6,6 +6,8 @@* * Copyright (c) 1999 Martin Mares <[email protected]> * (and others) +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/types.h>
drivers/usb/host/pci-quirks.h +1 -0
@@ -1,5 +1,6 @@#ifndef __LINUX_USB_PCI_QUIRKS_H#define __LINUX_USB_PCI_QUIRKS_H +/* SPDX-License-Identifier: GPL-2.0 */ #ifdef CONFIG_USB_PCI void uhci_reset_hc (struct pci_dev *pdev,unsigned long base);
drivers/usb/host/r8a66597-hcd.c +2 -0
@@ -21,6 +21,8 @@* along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h>
drivers/usb/host/r8a66597.h +2 -0
@@ -21,6 +21,8 @@* along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __R8A66597_H__
drivers/usb/host/sl811-hcd.c +2 -0
@@ -15,6 +15,8 @@* For documentation, see the SL811HS spec and the "SL811HS Embedded Host" * document (providing significant pieces missing from that spec); plus * the SL811S spec if you want peripheral side info. +* +* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/usb/host/sl811.h +2 -0
@@ -4,6 +4,8 @@* Copyright (C) 2004 Psion Teklogix * Copyright (C) 2004 David Brownell * Copyright (C) 2001 Cypress Semiconductor Inc. +* +* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/usb/host/sl811_cs.c +2 -0
@@ -8,6 +8,8 @@* Simon Pickering * * Last update: 2005-05-12 +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h>
drivers/usb/host/ssb-hcd.c +2 -0
@@ -17,6 +17,8 @@* Copyright 2005-2011 Broadcom Corporation * * Licensed under the GNU/GPL. See COPYING for details. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/ssb/ssb.h> #include <linux/delay.h>
drivers/usb/host/u132-hcd.c +2 -0
@@ -34,6 +34,8 @@* an embedded CardBus slot but do not work when they are connected * via an ELAN U132 adapter. * +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/module.h>
drivers/usb/host/uhci-debug.c +2 -0
@@ -7,6 +7,8 @@* * (C) Copyright 1999 Linus Torvalds * (C) Copyright 1999-2001 Johannes Erdfelt +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/slab.h>
drivers/usb/host/uhci-grlib.c +2 -0
@@ -15,6 +15,8 @@* support from usb-ohci.c by Adam Richter, [email protected]). * (C) Copyright 1999 Gregory P. Smith (from usb-ohci.c) * (C) Copyright 2004-2007 Alan Stern, [email protected] +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/device.h>
drivers/usb/host/uhci-hcd.c +2 -0
@@ -20,6 +20,8 @@* people who decided that they want to do the same thing in a * completely different way. * +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h>
drivers/usb/host/uhci-hcd.h +1 -0
@@ -1,5 +1,6 @@#ifndef __LINUX_UHCI_HCD_H#define __LINUX_UHCI_HCD_H +/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/list.h> #include <linux/usb.h>
drivers/usb/host/uhci-hub.c +2 -0
@@ -10,6 +10,8 @@* (C) Copyright 1999 Deti Fliegl, [email protected] * (C) Copyright 1999 Thomas Sailer, [email protected] * (C) Copyright 2004 Alan Stern, [email protected] +* +* SPDX-License-Identifier: GPL-2.0 */ static const __u8 root_hub_hub_des[] =
drivers/usb/host/uhci-pci.c +2 -0
@@ -15,6 +15,8 @@* support from usb-ohci.c by Adam Richter, [email protected]). * (C) Copyright 1999 Gregory P. Smith (from usb-ohci.c) * (C) Copyright 2004-2007 Alan Stern, [email protected] +* +* SPDX-License-Identifier: GPL-2.0 */ #include "pci-quirks.h"
drivers/usb/host/uhci-platform.c +2 -0
@@ -5,6 +5,8 @@* * This file is based on uhci-grlib.c * (C) Copyright 2004-2007 Alan Stern, [email protected] +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/of.h>
drivers/usb/host/uhci-q.c +2 -0
@@ -14,6 +14,8 @@* support from usb-ohci.c by Adam Richter, [email protected]). * (C) Copyright 1999 Gregory P. Smith (from usb-ohci.c) * (C) Copyright 2004-2007 Alan Stern, [email protected] +* +* SPDX-License-Identifier: GPL-2.0 */
drivers/usb/host/whci/asl.c +2 -0
@@ -14,6 +14,8 @@* * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/gfp.h>
drivers/usb/host/whci/debug.c +2 -0
@@ -14,6 +14,8 @@* * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/slab.h> #include <linux/kernel.h>
drivers/usb/host/whci/hcd.c +2 -0
@@ -14,6 +14,8 @@* * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/init.h>
drivers/usb/host/whci/hw.c +2 -0
@@ -14,6 +14,8 @@* * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/dma-mapping.h>
drivers/usb/host/whci/init.c +2 -0
@@ -14,6 +14,8 @@* * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/gfp.h>
drivers/usb/host/whci/int.c +2 -0
@@ -14,6 +14,8 @@* * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/uwb/umc.h>
drivers/usb/host/whci/pzl.c +2 -0
@@ -14,6 +14,8 @@* * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/gfp.h>
drivers/usb/host/whci/qset.c +2 -0
@@ -14,6 +14,8 @@* * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/dma-mapping.h>
drivers/usb/host/whci/whcd.h +2 -0
@@ -16,6 +16,8 @@* along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __WHCD_H#define __WHCD_H
drivers/usb/host/whci/whci-hc.h +2 -0
@@ -16,6 +16,8 @@* along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef _WHCI_WHCI_HC_H#define _WHCI_WHCI_HC_H
drivers/usb/host/whci/wusb.c +2 -0
@@ -14,6 +14,8 @@* * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h> #include <linux/uwb/umc.h>
drivers/usb/host/xhci-dbg.c +2 -0
@@ -18,6 +18,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0 */ #include "xhci.h"
drivers/usb/host/xhci-ext-caps.h +2 -0
@@ -18,6 +18,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0 */ /* Up to 16 ms to halt an HC */ #define XHCI_MAX_HALT_USEC (16*1000)
drivers/usb/host/xhci-hub.c +2 -0
@@ -18,6 +18,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0 */
drivers/usb/host/xhci-mem.c +2 -0
@@ -18,6 +18,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/usb.h>
drivers/usb/host/xhci-mtk-sch.c +2 -0
@@ -13,6 +13,8 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/kernel.h>
drivers/usb/host/xhci-mtk.c +2 -0
@@ -14,6 +14,8 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/clk.h>
drivers/usb/host/xhci-mtk.h +2 -0
@@ -13,6 +13,8 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef _XHCI_MTK_H_
drivers/usb/host/xhci-mvebu.c +2 -0
@@ -5,6 +5,8 @@* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/io.h>
drivers/usb/host/xhci-mvebu.h +2 -0
@@ -6,6 +6,8 @@* This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_XHCI_MVEBU_H
drivers/usb/host/xhci-pci.c +2 -0
@@ -18,6 +18,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/pci.h>
drivers/usb/host/xhci-plat.c +2 -0
@@ -9,6 +9,8 @@* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/clk.h>
drivers/usb/host/xhci-plat.h +2 -0
@@ -6,6 +6,8 @@* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef _XHCI_PLAT_H
drivers/usb/host/xhci-rcar.c +2 -0
@@ -6,6 +6,8 @@* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/firmware.h>
drivers/usb/host/xhci-rcar.h +2 -0
@@ -6,6 +6,8 @@* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef _XHCI_RCAR_H
drivers/usb/host/xhci-ring.c +2 -0
@@ -18,6 +18,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/usb/host/xhci-tegra.c +2 -0
@@ -7,6 +7,8 @@* This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/clk.h>
drivers/usb/host/xhci-trace.c +2 -0
@@ -9,6 +9,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #define CREATE_TRACE_POINTS
drivers/usb/host/xhci-trace.h +2 -0
@@ -9,6 +9,8 @@* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #undef TRACE_SYSTEM
drivers/usb/host/xhci.c +2 -0
@@ -18,6 +18,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/pci.h>
drivers/usb/host/xhci.h +2 -0
@@ -19,6 +19,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_XHCI_HCD_H
drivers/usb/image/mdc800.c +2 -0
@@ -14,6 +14,8 @@* You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* SPDX-License-Identifier: GPL-2.0+ */
drivers/usb/image/microtek.c +2 -0
@@ -117,6 +117,8 @@* 20010320 Version 0.4.3 * 20010408 Identify version on module load. * 20011003 Fix multiple requests +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/module.h>
drivers/usb/isp1760/isp1760-core.c +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/delay.h>
drivers/usb/isp1760/isp1760-core.h +2 -0
@@ -11,6 +11,8 @@* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. +* +* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ISP1760_CORE_H_
drivers/usb/isp1760/isp1760-hcd.c +2 -0
@@ -10,6 +10,8 @@* * (c) 2011 Arvid Brodin <[email protected]> * +* +* SPDX-License-Identifier: GPL-2.0 */ #include <linux/gpio/consumer.h> #include <linux/module.h>
drivers/usb/isp1760/isp1760-hcd.h +1 -0
@@ -1,5 +1,6 @@#ifndef _ISP1760_HCD_H_#define _ISP1760_HCD_H_ +/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/spinlock.h>
Lines of this file are not shown. View the raw message.
drivers/usb/misc/sisusbvga/sisusb_con.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/usb/misc/sisusbvga/sisusb_init.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/usb/misc/sisusbvga/sisusb_init.h +5 -1
Lines of this file are not shown. View the raw message.
drivers/usb/misc/sisusbvga/sisusb_struct.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/usb/storage/unusual_ene_ub6250.h +2 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.
Hi Greg,
Quoted 5 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. This patch adds these identifiers to all files in
drivers/usb/based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
Quoted 7 lines
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.
It would be good to include a diffstat, esp. when touching +600 files.
drivers/usb/Makefile
Quoted 2 lines
drivers/usb/Makefile +0
-0
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Greg Kroah-Hartman
maintainerQuoted 17 lines · Geert Uytterhoeven
Hi Greg,
Quoted 5 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. This patch adds these identifiers to all files in
drivers/usb/based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.Quoted 7 lines
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.
Quoted 1 line
It would be good to include a diffstat, esp. when touching +600 files.
I wanted to, but I was worried it would be too long to prevent the patch from hitting the list :)
Here it is:
drivers/usb/Makefile | 1 + drivers/usb/atm/Makefile | 1 + drivers/usb/atm/cxacru.c | 1 + drivers/usb/atm/speedtch.c | 1 + drivers/usb/atm/ueagle-atm.c | 2 ++ drivers/usb/atm/usbatm.c | 1 + drivers/usb/atm/usbatm.h | 1 + drivers/usb/atm/xusbatm.c | 1 + drivers/usb/c67x00/c67x00-drv.c | 2 ++ drivers/usb/c67x00/c67x00-hcd.c | 2 ++ drivers/usb/c67x00/c67x00-hcd.h | 2 ++ drivers/usb/c67x00/c67x00-ll-hpi.c | 2 ++ drivers/usb/c67x00/c67x00-sched.c | 2 ++ drivers/usb/c67x00/c67x00.h | 2 ++ drivers/usb/chipidea/Makefile | 1 + drivers/usb/chipidea/bits.h | 2 ++ drivers/usb/chipidea/ci.h | 2 ++ drivers/usb/chipidea/ci_hdrc_imx.c | 2 ++ drivers/usb/chipidea/ci_hdrc_imx.h | 2 ++ drivers/usb/chipidea/ci_hdrc_msm.c | 2 ++ drivers/usb/chipidea/ci_hdrc_pci.c | 2 ++ drivers/usb/chipidea/ci_hdrc_usb2.c | 2 ++ drivers/usb/chipidea/ci_hdrc_zevio.c | 2 ++ drivers/usb/chipidea/core.c | 2 ++ drivers/usb/chipidea/debug.c | 1 + drivers/usb/chipidea/host.c | 2 ++ drivers/usb/chipidea/host.h | 1 + drivers/usb/chipidea/otg.c | 2 ++ drivers/usb/chipidea/otg.h | 2 ++ drivers/usb/chipidea/otg_fsm.c | 2 ++ drivers/usb/chipidea/otg_fsm.h | 2 ++ drivers/usb/chipidea/udc.c | 2 ++ drivers/usb/chipidea/udc.h | 2 ++ drivers/usb/chipidea/ulpi.c | 2 ++ drivers/usb/chipidea/usbmisc_imx.c | 2 ++ drivers/usb/class/cdc-acm.c | 2 ++ drivers/usb/class/cdc-acm.h | 2 ++ drivers/usb/class/cdc-wdm.c | 2 ++ drivers/usb/class/usblp.c | 2 ++ drivers/usb/class/usbtmc.c | 2 ++ drivers/usb/common/Makefile | 1 + drivers/usb/common/common.c | 2 ++ drivers/usb/common/led.c | 2 ++ drivers/usb/common/ulpi.c | 2 ++ drivers/usb/common/usb-otg-fsm.c | 2 ++ drivers/usb/core/Makefile | 1 + drivers/usb/core/devices.c | 2 ++ drivers/usb/core/devio.c | 6 +++++- drivers/usb/core/hcd-pci.c | 2 ++ drivers/usb/core/hcd.c | 2 ++ drivers/usb/core/hub.h | 2 ++ drivers/usb/core/ledtrig-usbport.c | 2 ++ drivers/usb/core/of.c | 2 ++ drivers/usb/core/otg_whitelist.h | 2 ++ drivers/usb/core/port.c | 2 ++ drivers/usb/core/quirks.c | 2 ++ drivers/usb/core/usb-acpi.c | 2 ++ drivers/usb/dwc2/Makefile | 1 + drivers/usb/dwc2/core.c | 2 ++ drivers/usb/dwc2/core.h | 2 ++ drivers/usb/dwc2/core_intr.c | 2 ++ drivers/usb/dwc2/debug.h | 2 ++ drivers/usb/dwc2/debugfs.c | 2 ++ drivers/usb/dwc2/gadget.c | 2 ++ drivers/usb/dwc2/hcd.c | 2 ++ drivers/usb/dwc2/hcd.h | 2 ++ drivers/usb/dwc2/hcd_ddma.c | 2 ++ drivers/usb/dwc2/hcd_intr.c | 2 ++ drivers/usb/dwc2/hcd_queue.c | 2 ++ drivers/usb/dwc2/hw.h | 2 ++ drivers/usb/dwc2/params.c | 2 ++ drivers/usb/dwc2/pci.c | 2 ++ drivers/usb/dwc2/platform.c | 2 ++ drivers/usb/dwc3/Makefile | 1 + drivers/usb/dwc3/core.c | 2 ++ drivers/usb/dwc3/core.h | 2 ++ drivers/usb/dwc3/debug.h | 2 ++ drivers/usb/dwc3/debugfs.c | 2 ++ drivers/usb/dwc3/drd.c | 2 ++ drivers/usb/dwc3/dwc3-exynos.c | 2 ++ drivers/usb/dwc3/dwc3-keystone.c | 2 ++ drivers/usb/dwc3/dwc3-of-simple.c | 2 ++ drivers/usb/dwc3/dwc3-omap.c | 2 ++ drivers/usb/dwc3/dwc3-pci.c | 2 ++ drivers/usb/dwc3/dwc3-st.c | 2 ++ drivers/usb/dwc3/ep0.c | 2 ++ drivers/usb/dwc3/gadget.c | 2 ++ drivers/usb/dwc3/gadget.h | 2 ++ drivers/usb/dwc3/host.c | 2 ++ drivers/usb/dwc3/io.h | 2 ++ drivers/usb/dwc3/trace.c | 2 ++ drivers/usb/dwc3/trace.h | 2 ++ drivers/usb/dwc3/ulpi.c | 2 ++ drivers/usb/early/ehci-dbgp.c | 2 ++ drivers/usb/early/xhci-dbc.c | 2 ++ drivers/usb/early/xhci-dbc.h | 2 ++ drivers/usb/gadget/Makefile | 1 + drivers/usb/gadget/composite.c | 2 ++ drivers/usb/gadget/config.c | 2 ++ drivers/usb/gadget/configfs.c | 1 + drivers/usb/gadget/configfs.h | 1 + drivers/usb/gadget/epautoconf.c | 2 ++ drivers/usb/gadget/function/Makefile | 1 + drivers/usb/gadget/function/f_acm.c | 2 ++ drivers/usb/gadget/function/f_ecm.c | 2 ++ drivers/usb/gadget/function/f_eem.c | 2 ++ drivers/usb/gadget/function/f_fs.c | 2 ++ drivers/usb/gadget/function/f_hid.c | 2 ++ drivers/usb/gadget/function/f_loopback.c | 2 ++ drivers/usb/gadget/function/f_mass_storage.c | 2 ++ drivers/usb/gadget/function/f_mass_storage.h | 1 + drivers/usb/gadget/function/f_midi.c | 2 ++ drivers/usb/gadget/function/f_ncm.c | 2 ++ drivers/usb/gadget/function/f_obex.c | 2 ++ drivers/usb/gadget/function/f_phonet.c | 2 ++ drivers/usb/gadget/function/f_printer.c | 2 ++ drivers/usb/gadget/function/f_rndis.c | 2 ++ drivers/usb/gadget/function/f_serial.c | 2 ++ drivers/usb/gadget/function/f_sourcesink.c | 2 ++ drivers/usb/gadget/function/f_subset.c | 2 ++ drivers/usb/gadget/function/f_tcm.c | 2 ++ drivers/usb/gadget/function/f_uac1.c | 2 ++ drivers/usb/gadget/function/f_uac1_legacy.c | 2 ++ drivers/usb/gadget/function/f_uac2.c | 2 ++ drivers/usb/gadget/function/f_uvc.c | 2 ++ drivers/usb/gadget/function/f_uvc.h | 2 ++ drivers/usb/gadget/function/g_zero.h | 2 ++ drivers/usb/gadget/function/rndis.c | 2 ++ drivers/usb/gadget/function/rndis.h | 2 ++ drivers/usb/gadget/function/storage_common.c | 2 ++ drivers/usb/gadget/function/storage_common.h | 1 + drivers/usb/gadget/function/tcm.h | 1 + drivers/usb/gadget/function/u_audio.c | 2 ++ drivers/usb/gadget/function/u_audio.h | 2 ++ drivers/usb/gadget/function/u_ecm.h | 2 ++ drivers/usb/gadget/function/u_eem.h | 2 ++ drivers/usb/gadget/function/u_ether.c | 2 ++ drivers/usb/gadget/function/u_ether.h | 2 ++ drivers/usb/gadget/function/u_ether_configfs.h | 2 ++ drivers/usb/gadget/function/u_fs.h | 2 ++ drivers/usb/gadget/function/u_gether.h | 2 ++ drivers/usb/gadget/function/u_hid.h | 2 ++ drivers/usb/gadget/function/u_midi.h | 2 ++ drivers/usb/gadget/function/u_ncm.h | 2 ++ drivers/usb/gadget/function/u_phonet.h | 2 ++ drivers/usb/gadget/function/u_printer.h | 2 ++ drivers/usb/gadget/function/u_rndis.h | 2 ++ drivers/usb/gadget/function/u_serial.c | 2 ++ drivers/usb/gadget/function/u_serial.h | 2 ++ drivers/usb/gadget/function/u_tcm.h | 2 ++ drivers/usb/gadget/function/u_uac1.h | 2 ++ drivers/usb/gadget/function/u_uac1_legacy.c | 2 ++ drivers/usb/gadget/function/u_uac1_legacy.h | 2 ++ drivers/usb/gadget/function/u_uac2.h | 2 ++ drivers/usb/gadget/function/u_uvc.h | 2 ++ drivers/usb/gadget/function/uvc.h | 2 ++ drivers/usb/gadget/function/uvc_configfs.c | 2 ++ drivers/usb/gadget/function/uvc_configfs.h | 2 ++ drivers/usb/gadget/function/uvc_queue.c | 2 ++ drivers/usb/gadget/function/uvc_queue.h | 1 + drivers/usb/gadget/function/uvc_v4l2.c | 2 ++ drivers/usb/gadget/function/uvc_v4l2.h | 2 ++ drivers/usb/gadget/function/uvc_video.c | 2 ++ drivers/usb/gadget/function/uvc_video.h | 2 ++ drivers/usb/gadget/functions.c | 1 + drivers/usb/gadget/legacy/Makefile | 1 + drivers/usb/gadget/legacy/acm_ms.c | 2 ++ drivers/usb/gadget/legacy/audio.c | 2 ++ drivers/usb/gadget/legacy/cdc2.c | 2 ++ drivers/usb/gadget/legacy/dbgp.c | 2 ++ drivers/usb/gadget/legacy/ether.c | 2 ++ drivers/usb/gadget/legacy/g_ffs.c | 2 ++ drivers/usb/gadget/legacy/gmidi.c | 2 ++ drivers/usb/gadget/legacy/hid.c | 2 ++ drivers/usb/gadget/legacy/inode.c | 2 ++ drivers/usb/gadget/legacy/mass_storage.c | 2 ++ drivers/usb/gadget/legacy/multi.c | 2 ++ drivers/usb/gadget/legacy/ncm.c | 2 ++ drivers/usb/gadget/legacy/nokia.c | 2 ++ drivers/usb/gadget/legacy/printer.c | 2 ++ drivers/usb/gadget/legacy/serial.c | 2 ++ drivers/usb/gadget/legacy/tcm_usb_gadget.c | 2 ++ drivers/usb/gadget/legacy/webcam.c | 2 ++ drivers/usb/gadget/legacy/zero.c | 2 ++ drivers/usb/gadget/u_f.c | 2 ++ drivers/usb/gadget/u_f.h | 2 ++ drivers/usb/gadget/u_os_desc.h | 2 ++ drivers/usb/gadget/udc/Makefile | 1 + drivers/usb/gadget/udc/amd5536udc.h | 2 ++ drivers/usb/gadget/udc/amd5536udc_pci.c | 2 ++ drivers/usb/gadget/udc/at91_udc.c | 2 ++ drivers/usb/gadget/udc/at91_udc.h | 2 ++ drivers/usb/gadget/udc/atmel_usba_udc.c | 2 ++ drivers/usb/gadget/udc/atmel_usba_udc.h | 2 ++ drivers/usb/gadget/udc/bcm63xx_udc.c | 2 ++ drivers/usb/gadget/udc/bdc/Makefile | 1 + drivers/usb/gadget/udc/bdc/bdc.h | 2 ++ drivers/usb/gadget/udc/bdc/bdc_cmd.c | 2 ++ drivers/usb/gadget/udc/bdc/bdc_cmd.h | 2 ++ drivers/usb/gadget/udc/bdc/bdc_core.c | 2 ++ drivers/usb/gadget/udc/bdc/bdc_dbg.c | 2 ++ drivers/usb/gadget/udc/bdc/bdc_dbg.h | 2 ++ drivers/usb/gadget/udc/bdc/bdc_ep.c | 2 ++ drivers/usb/gadget/udc/bdc/bdc_ep.h | 2 ++ drivers/usb/gadget/udc/bdc/bdc_pci.c | 2 ++ drivers/usb/gadget/udc/bdc/bdc_udc.c | 2 ++ drivers/usb/gadget/udc/core.c | 2 ++ drivers/usb/gadget/udc/dummy_hcd.c | 2 ++ drivers/usb/gadget/udc/fotg210-udc.c | 2 ++ drivers/usb/gadget/udc/fotg210.h | 2 ++ drivers/usb/gadget/udc/fsl_mxc_udc.c | 2 ++ drivers/usb/gadget/udc/fsl_qe_udc.c | 2 ++ drivers/usb/gadget/udc/fsl_qe_udc.h | 2 ++ drivers/usb/gadget/udc/fsl_udc_core.c | 2 ++ drivers/usb/gadget/udc/fsl_usb2_udc.h | 2 ++ drivers/usb/gadget/udc/fusb300_udc.c | 2 ++ drivers/usb/gadget/udc/fusb300_udc.h | 2 ++ drivers/usb/gadget/udc/goku_udc.c | 2 ++ drivers/usb/gadget/udc/goku_udc.h | 2 ++ drivers/usb/gadget/udc/gr_udc.c | 2 ++ drivers/usb/gadget/udc/gr_udc.h | 2 ++ drivers/usb/gadget/udc/lpc32xx_udc.c | 2 ++ drivers/usb/gadget/udc/m66592-udc.c | 2 ++ drivers/usb/gadget/udc/m66592-udc.h | 2 ++ drivers/usb/gadget/udc/mv_u3d.h | 2 ++ drivers/usb/gadget/udc/mv_u3d_core.c | 2 ++ drivers/usb/gadget/udc/mv_udc.h | 2 ++ drivers/usb/gadget/udc/mv_udc_core.c | 2 ++ drivers/usb/gadget/udc/net2272.c | 2 ++ drivers/usb/gadget/udc/net2272.h | 2 ++ drivers/usb/gadget/udc/net2280.c | 2 ++ drivers/usb/gadget/udc/net2280.h | 2 ++ drivers/usb/gadget/udc/omap_udc.c | 2 ++ drivers/usb/gadget/udc/omap_udc.h | 2 ++ drivers/usb/gadget/udc/pch_udc.c | 2 ++ drivers/usb/gadget/udc/pxa25x_udc.c | 2 ++ drivers/usb/gadget/udc/pxa25x_udc.h | 2 ++ drivers/usb/gadget/udc/pxa27x_udc.c | 2 ++ drivers/usb/gadget/udc/pxa27x_udc.h | 2 ++ drivers/usb/gadget/udc/r8a66597-udc.c | 2 ++ drivers/usb/gadget/udc/r8a66597-udc.h | 2 ++ drivers/usb/gadget/udc/renesas_usb3.c | 2 ++ drivers/usb/gadget/udc/s3c-hsudc.c | 2 ++ drivers/usb/gadget/udc/s3c2410_udc.c | 2 ++ drivers/usb/gadget/udc/s3c2410_udc.h | 2 ++ drivers/usb/gadget/udc/snps_udc_core.c | 2 ++ drivers/usb/gadget/udc/snps_udc_plat.c | 2 ++ drivers/usb/gadget/udc/trace.c | 2 ++ drivers/usb/gadget/udc/trace.h | 2 ++ drivers/usb/gadget/udc/udc-xilinx.c | 2 ++ drivers/usb/gadget/usbstring.c | 2 ++ drivers/usb/host/Makefile | 1 + drivers/usb/host/bcma-hcd.c | 2 ++ drivers/usb/host/ehci-atmel.c | 2 ++ drivers/usb/host/ehci-dbg.c | 2 ++ drivers/usb/host/ehci-exynos.c | 2 ++ drivers/usb/host/ehci-fsl.c | 2 ++ drivers/usb/host/ehci-fsl.h | 2 ++ drivers/usb/host/ehci-grlib.c | 2 ++ drivers/usb/host/ehci-hcd.c | 2 ++ drivers/usb/host/ehci-hub.c | 2 ++ drivers/usb/host/ehci-mem.c | 2 ++ drivers/usb/host/ehci-msm.c | 2 ++ drivers/usb/host/ehci-mv.c | 2 ++ drivers/usb/host/ehci-mxc.c | 2 ++ drivers/usb/host/ehci-omap.c | 2 ++ drivers/usb/host/ehci-orion.c | 2 ++ drivers/usb/host/ehci-pci.c | 2 ++ drivers/usb/host/ehci-platform.c | 2 ++ drivers/usb/host/ehci-pmcmsp.c | 2 ++ drivers/usb/host/ehci-ppc-of.c | 2 ++ drivers/usb/host/ehci-ps3.c | 2 ++ drivers/usb/host/ehci-q.c | 2 ++ drivers/usb/host/ehci-sched.c | 2 ++ drivers/usb/host/ehci-sh.c | 2 ++ drivers/usb/host/ehci-spear.c | 2 ++ drivers/usb/host/ehci-st.c | 2 ++ drivers/usb/host/ehci-sysfs.c | 2 ++ drivers/usb/host/ehci-tegra.c | 2 ++ drivers/usb/host/ehci-tilegx.c | 2 ++ drivers/usb/host/ehci-timer.c | 2 ++ drivers/usb/host/ehci-w90x900.c | 2 ++ drivers/usb/host/ehci-xilinx-of.c | 2 ++ drivers/usb/host/ehci.h | 2 ++ drivers/usb/host/fhci-dbg.c | 2 ++ drivers/usb/host/fhci-hcd.c | 2 ++ drivers/usb/host/fhci-hub.c | 2 ++ drivers/usb/host/fhci-mem.c | 2 ++ drivers/usb/host/fhci-q.c | 2 ++ drivers/usb/host/fhci-sched.c | 2 ++ drivers/usb/host/fhci-tds.c | 2 ++ drivers/usb/host/fhci.h | 2 ++ drivers/usb/host/fotg210-hcd.c | 2 ++ drivers/usb/host/fotg210.h | 1 + drivers/usb/host/fsl-mph-dr-of.c | 2 ++ drivers/usb/host/hwa-hc.c | 2 ++ drivers/usb/host/imx21-dbg.c | 2 ++ drivers/usb/host/imx21-hcd.c | 2 ++ drivers/usb/host/imx21-hcd.h | 2 ++ drivers/usb/host/isp116x-hcd.c | 2 ++ drivers/usb/host/isp116x.h | 2 ++ drivers/usb/host/isp1362-hcd.c | 2 ++ drivers/usb/host/isp1362.h | 2 ++ drivers/usb/host/max3421-hcd.c | 2 ++ drivers/usb/host/ohci-at91.c | 2 ++ drivers/usb/host/ohci-da8xx.c | 2 ++ drivers/usb/host/ohci-dbg.c | 2 ++ drivers/usb/host/ohci-exynos.c | 2 ++ drivers/usb/host/ohci-hcd.c | 2 ++ drivers/usb/host/ohci-hub.c | 2 ++ drivers/usb/host/ohci-mem.c | 2 ++ drivers/usb/host/ohci-nxp.c | 2 ++ drivers/usb/host/ohci-omap.c | 2 ++ drivers/usb/host/ohci-pci.c | 2 ++ drivers/usb/host/ohci-platform.c | 2 ++ drivers/usb/host/ohci-ppc-of.c | 2 ++ drivers/usb/host/ohci-ps3.c | 2 ++ drivers/usb/host/ohci-pxa27x.c | 2 ++ drivers/usb/host/ohci-q.c | 2 ++ drivers/usb/host/ohci-s3c2410.c | 2 ++ drivers/usb/host/ohci-sa1111.c | 2 ++ drivers/usb/host/ohci-sm501.c | 2 ++ drivers/usb/host/ohci-spear.c | 2 ++ drivers/usb/host/ohci-st.c | 2 ++ drivers/usb/host/ohci-tilegx.c | 2 ++ drivers/usb/host/ohci-tmio.c | 2 ++ drivers/usb/host/ohci.h | 2 ++ drivers/usb/host/oxu210hp-hcd.c | 2 ++ drivers/usb/host/oxu210hp.h | 2 ++ drivers/usb/host/pci-quirks.c | 2 ++ drivers/usb/host/pci-quirks.h | 1 + drivers/usb/host/r8a66597-hcd.c | 2 ++ drivers/usb/host/r8a66597.h | 2 ++ drivers/usb/host/sl811-hcd.c | 2 ++ drivers/usb/host/sl811.h | 2 ++ drivers/usb/host/sl811_cs.c | 2 ++ drivers/usb/host/ssb-hcd.c | 2 ++ drivers/usb/host/u132-hcd.c | 2 ++ drivers/usb/host/uhci-debug.c | 2 ++ drivers/usb/host/uhci-grlib.c | 2 ++ drivers/usb/host/uhci-hcd.c | 2 ++ drivers/usb/host/uhci-hcd.h | 1 + drivers/usb/host/uhci-hub.c | 2 ++ drivers/usb/host/uhci-pci.c | 2 ++ drivers/usb/host/uhci-platform.c | 2 ++ drivers/usb/host/uhci-q.c | 2 ++ drivers/usb/host/whci/asl.c | 2 ++ drivers/usb/host/whci/debug.c | 2 ++ drivers/usb/host/whci/hcd.c | 2 ++ drivers/usb/host/whci/hw.c | 2 ++ drivers/usb/host/whci/init.c | 2 ++ drivers/usb/host/whci/int.c | 2 ++ drivers/usb/host/whci/pzl.c | 2 ++ drivers/usb/host/whci/qset.c | 2 ++ drivers/usb/host/whci/whcd.h | 2 ++ drivers/usb/host/whci/whci-hc.h | 2 ++ drivers/usb/host/whci/wusb.c | 2 ++ drivers/usb/host/xhci-dbg.c | 2 ++ drivers/usb/host/xhci-ext-caps.h | 2 ++ drivers/usb/host/xhci-hub.c | 2 ++ drivers/usb/host/xhci-mem.c | 2 ++ drivers/usb/host/xhci-mtk-sch.c | 2 ++ drivers/usb/host/xhci-mtk.c | 2 ++ drivers/usb/host/xhci-mtk.h | 2 ++ drivers/usb/host/xhci-mvebu.c | 2 ++ drivers/usb/host/xhci-mvebu.h | 2 ++ drivers/usb/host/xhci-pci.c | 2 ++ drivers/usb/host/xhci-plat.c | 2 ++ drivers/usb/host/xhci-plat.h | 2 ++ drivers/usb/host/xhci-rcar.c | 2 ++ drivers/usb/host/xhci-rcar.h | 2 ++ drivers/usb/host/xhci-ring.c | 2 ++ drivers/usb/host/xhci-tegra.c | 2 ++ drivers/usb/host/xhci-trace.c | 2 ++ drivers/usb/host/xhci-trace.h | 2 ++ drivers/usb/host/xhci.c | 2 ++ drivers/usb/host/xhci.h | 2 ++ drivers/usb/image/mdc800.c | 2 ++ drivers/usb/image/microtek.c | 2 ++ drivers/usb/isp1760/isp1760-core.c | 2 ++ drivers/usb/isp1760/isp1760-core.h | 2 ++ drivers/usb/isp1760/isp1760-hcd.c | 2 ++ drivers/usb/isp1760/isp1760-hcd.h | 1 + drivers/usb/isp1760/isp1760-if.c | 2 ++ drivers/usb/isp1760/isp1760-regs.h | 2 ++ drivers/usb/isp1760/isp1760-udc.c | 2 ++ drivers/usb/isp1760/isp1760-udc.h | 2 ++ drivers/usb/misc/Makefile | 1 + drivers/usb/misc/adutux.c | 2 ++ drivers/usb/misc/appledisplay.c | 2 ++ drivers/usb/misc/chaoskey.c | 2 ++ drivers/usb/misc/cypress_cy7c63.c | 2 ++ drivers/usb/misc/cytherm.c | 2 ++ drivers/usb/misc/ehset.c | 2 ++ drivers/usb/misc/emi26.c | 2 ++ drivers/usb/misc/emi62.c | 2 ++ drivers/usb/misc/ezusb.c | 2 ++ drivers/usb/misc/ftdi-elan.c | 2 ++ drivers/usb/misc/idmouse.c | 2 ++ drivers/usb/misc/iowarrior.c | 2 ++ drivers/usb/misc/isight_firmware.c | 2 ++ drivers/usb/misc/ldusb.c | 2 ++ drivers/usb/misc/legousbtower.c | 2 ++ drivers/usb/misc/lvstest.c | 2 ++ drivers/usb/misc/rio500.c | 6 +++++- drivers/usb/misc/rio500_usb.h | 1 + drivers/usb/misc/sisusbvga/sisusb.c | 2 ++ drivers/usb/misc/sisusbvga/sisusb.h | 2 ++ drivers/usb/misc/sisusbvga/sisusb_con.c | 2 ++ drivers/usb/misc/sisusbvga/sisusb_init.c | 2 ++ drivers/usb/misc/sisusbvga/sisusb_init.h | 6 +++++- drivers/usb/misc/sisusbvga/sisusb_struct.h | 2 ++ drivers/usb/misc/trancevibrator.c | 2 ++ drivers/usb/misc/usb251xb.c | 2 ++ drivers/usb/misc/usb3503.c | 2 ++ drivers/usb/misc/usb4604.c | 2 ++ drivers/usb/misc/usb_u132.h | 2 ++ drivers/usb/misc/usblcd.c | 1 + drivers/usb/misc/usbsevseg.c | 2 ++ drivers/usb/misc/usbtest.c | 1 + drivers/usb/misc/uss720.c | 6 +++++- drivers/usb/misc/yurex.c | 2 ++ drivers/usb/mon/mon_bin.c | 2 ++ drivers/usb/mon/mon_main.c | 2 ++ drivers/usb/mon/mon_stat.c | 2 ++ drivers/usb/mon/mon_text.c | 2 ++ drivers/usb/mon/usb_mon.h | 2 ++ drivers/usb/mtu3/Makefile | 1 + drivers/usb/mtu3/mtu3.h | 2 ++ drivers/usb/mtu3/mtu3_core.c | 2 ++ drivers/usb/mtu3/mtu3_dr.c | 2 ++ drivers/usb/mtu3/mtu3_dr.h | 2 ++ drivers/usb/mtu3/mtu3_gadget.c | 2 ++ drivers/usb/mtu3/mtu3_gadget_ep0.c | 2 ++ drivers/usb/mtu3/mtu3_host.c | 2 ++ drivers/usb/mtu3/mtu3_hw_regs.h | 2 ++ drivers/usb/mtu3/mtu3_plat.c | 2 ++ drivers/usb/mtu3/mtu3_qmu.c | 2 ++ drivers/usb/mtu3/mtu3_qmu.h | 2 ++ drivers/usb/musb/Makefile | 1 + drivers/usb/musb/am35x.c | 2 ++ drivers/usb/musb/blackfin.c | 2 ++ drivers/usb/musb/blackfin.h | 2 ++ drivers/usb/musb/cppi_dma.c | 2 ++ drivers/usb/musb/cppi_dma.h | 6 +++++- drivers/usb/musb/da8xx.c | 2 ++ drivers/usb/musb/davinci.c | 2 ++ drivers/usb/musb/davinci.h | 2 ++ drivers/usb/musb/jz4740.c | 2 ++ drivers/usb/musb/musb_am335x.c | 1 + drivers/usb/musb/musb_core.c | 2 ++ drivers/usb/musb/musb_core.h | 2 ++ drivers/usb/musb/musb_cppi41.c | 1 + drivers/usb/musb/musb_debug.h | 2 ++ drivers/usb/musb/musb_debugfs.c | 2 ++ drivers/usb/musb/musb_dma.h | 2 ++ drivers/usb/musb/musb_dsps.c | 2 ++ drivers/usb/musb/musb_gadget.c | 2 ++ drivers/usb/musb/musb_gadget.h | 2 ++ drivers/usb/musb/musb_gadget_ep0.c | 2 ++ drivers/usb/musb/musb_host.c | 2 ++ drivers/usb/musb/musb_host.h | 2 ++ drivers/usb/musb/musb_io.h | 2 ++ drivers/usb/musb/musb_regs.h | 2 ++ drivers/usb/musb/musb_trace.c | 2 ++ drivers/usb/musb/musb_trace.h | 2 ++ drivers/usb/musb/musb_virthub.c | 2 ++ drivers/usb/musb/musbhsdma.c | 2 ++ drivers/usb/musb/musbhsdma.h | 2 ++ drivers/usb/musb/omap2430.c | 2 ++ drivers/usb/musb/omap2430.h | 2 ++ drivers/usb/musb/sunxi.c | 2 ++ drivers/usb/musb/tusb6010.c | 2 ++ drivers/usb/musb/tusb6010.h | 2 ++ drivers/usb/musb/tusb6010_omap.c | 2 ++ drivers/usb/musb/ux500.c | 2 ++ drivers/usb/musb/ux500_dma.c | 2 ++ drivers/usb/phy/Makefile | 1 + drivers/usb/phy/of.c | 2 ++ drivers/usb/phy/phy-ab8500-usb.c | 2 ++ drivers/usb/phy/phy-am335x-control.c | 1 + drivers/usb/phy/phy-am335x-control.h | 1 + drivers/usb/phy/phy-am335x.c | 1 + drivers/usb/phy/phy-fsl-usb.c | 2 ++ drivers/usb/phy/phy-fsl-usb.h | 2 ++ drivers/usb/phy/phy-generic.c | 2 ++ drivers/usb/phy/phy-generic.h | 1 + drivers/usb/phy/phy-gpio-vbus-usb.c | 2 ++ drivers/usb/phy/phy-isp1301-omap.c | 2 ++ drivers/usb/phy/phy-isp1301.c | 2 ++ drivers/usb/phy/phy-keystone.c | 2 ++ drivers/usb/phy/phy-msm-usb.c | 2 ++ drivers/usb/phy/phy-mv-usb.c | 2 ++ drivers/usb/phy/phy-mv-usb.h | 2 ++ drivers/usb/phy/phy-mxs-usb.c | 2 ++ drivers/usb/phy/phy-omap-otg.c | 2 ++ drivers/usb/phy/phy-qcom-8x16-usb.c | 2 ++ drivers/usb/phy/phy-tahvo.c | 2 ++ drivers/usb/phy/phy-tegra-usb.c | 2 ++ drivers/usb/phy/phy-twl6030-usb.c | 2 ++ drivers/usb/phy/phy-ulpi-viewport.c | 2 ++ drivers/usb/phy/phy-ulpi.c | 2 ++ drivers/usb/phy/phy.c | 2 ++ drivers/usb/renesas_usbhs/Makefile | 1 + drivers/usb/renesas_usbhs/common.c | 2 ++ drivers/usb/renesas_usbhs/common.h | 2 ++ drivers/usb/renesas_usbhs/fifo.c | 2 ++ drivers/usb/renesas_usbhs/fifo.h | 2 ++ drivers/usb/renesas_usbhs/mod.c | 2 ++ drivers/usb/renesas_usbhs/mod.h | 2 ++ drivers/usb/renesas_usbhs/mod_gadget.c | 2 ++ drivers/usb/renesas_usbhs/mod_host.c | 2 ++ drivers/usb/renesas_usbhs/pipe.c | 2 ++ drivers/usb/renesas_usbhs/pipe.h | 2 ++ drivers/usb/renesas_usbhs/rcar2.c | 2 ++ drivers/usb/renesas_usbhs/rcar3.c | 2 ++ drivers/usb/serial/Makefile | 1 + drivers/usb/serial/aircable.c | 2 ++ drivers/usb/serial/ark3116.c | 2 ++ drivers/usb/serial/belkin_sa.c | 2 ++ drivers/usb/serial/belkin_sa.h | 2 ++ drivers/usb/serial/bus.c | 2 ++ drivers/usb/serial/ch341.c | 2 ++ drivers/usb/serial/console.c | 2 ++ drivers/usb/serial/cp210x.c | 2 ++ drivers/usb/serial/cyberjack.c | 2 ++ drivers/usb/serial/cypress_m8.c | 2 ++ drivers/usb/serial/cypress_m8.h | 1 + drivers/usb/serial/digi_acceleport.c | 2 ++ drivers/usb/serial/empeg.c | 2 ++ drivers/usb/serial/f81232.c | 2 ++ drivers/usb/serial/f81534.c | 2 ++ drivers/usb/serial/ftdi_sio.c | 2 ++ drivers/usb/serial/ftdi_sio.h | 2 ++ drivers/usb/serial/ftdi_sio_ids.h | 2 ++ drivers/usb/serial/garmin_gps.c | 2 ++ drivers/usb/serial/generic.c | 2 ++ drivers/usb/serial/io_16654.h | 1 + drivers/usb/serial/io_edgeport.c | 2 ++ drivers/usb/serial/io_edgeport.h | 1 + drivers/usb/serial/io_ionsp.h | 1 + drivers/usb/serial/io_ti.c | 2 ++ drivers/usb/serial/io_ti.h | 1 + drivers/usb/serial/io_usbvend.h | 1 + drivers/usb/serial/ipaq.c | 2 ++ drivers/usb/serial/ipw.c | 2 ++ drivers/usb/serial/ir-usb.c | 2 ++ drivers/usb/serial/iuu_phoenix.c | 2 ++ drivers/usb/serial/iuu_phoenix.h | 2 ++ drivers/usb/serial/keyspan.c | 2 ++ drivers/usb/serial/keyspan_pda.c | 2 ++ drivers/usb/serial/kl5kusb105.c | 2 ++ drivers/usb/serial/kl5kusb105.h | 2 ++ drivers/usb/serial/kobil_sct.c | 2 ++ drivers/usb/serial/kobil_sct.h | 6 +++++- drivers/usb/serial/mct_u232.c | 2 ++ drivers/usb/serial/mct_u232.h | 2 ++ drivers/usb/serial/metro-usb.c | 2 ++ drivers/usb/serial/mos7720.c | 2 ++ drivers/usb/serial/mos7840.c | 2 ++ drivers/usb/serial/mxuport.c | 2 ++ drivers/usb/serial/navman.c | 2 ++ drivers/usb/serial/omninet.c | 2 ++ drivers/usb/serial/opticon.c | 2 ++ drivers/usb/serial/option.c | 2 ++ drivers/usb/serial/oti6858.c | 2 ++ drivers/usb/serial/oti6858.h | 2 ++ drivers/usb/serial/pl2303.c | 2 ++ drivers/usb/serial/pl2303.h | 2 ++ drivers/usb/serial/qcaux.c | 2 ++ drivers/usb/serial/qcserial.c | 2 ++ drivers/usb/serial/quatech2.c | 2 ++ drivers/usb/serial/safe_serial.c | 2 ++ drivers/usb/serial/sierra.c | 2 ++ drivers/usb/serial/spcp8x5.c | 2 ++ drivers/usb/serial/ssu100.c | 2 ++ drivers/usb/serial/symbolserial.c | 2 ++ drivers/usb/serial/ti_usb_3410_5052.c | 2 ++ drivers/usb/serial/upd78f0730.c | 2 ++ drivers/usb/serial/usb-serial-simple.c | 2 ++ drivers/usb/serial/usb-serial.c | 2 ++ drivers/usb/serial/usb-wwan.h | 2 ++ drivers/usb/serial/usb_debug.c | 2 ++ drivers/usb/serial/usb_wwan.c | 2 ++ drivers/usb/serial/visor.c | 2 ++ drivers/usb/serial/visor.h | 2 ++ drivers/usb/serial/whiteheat.c | 2 ++ drivers/usb/serial/whiteheat.h | 2 ++ drivers/usb/serial/wishbone-serial.c | 2 ++ drivers/usb/serial/xsens_mt.c | 2 ++ drivers/usb/storage/Makefile | 1 + drivers/usb/storage/alauda.c | 2 ++ drivers/usb/storage/cypress_atacb.c | 2 ++ drivers/usb/storage/datafab.c | 2 ++ drivers/usb/storage/debug.c | 2 ++ drivers/usb/storage/debug.h | 2 ++ drivers/usb/storage/ene_ub6250.c | 2 ++ drivers/usb/storage/freecom.c | 2 ++ drivers/usb/storage/initializers.c | 2 ++ drivers/usb/storage/initializers.h | 2 ++ drivers/usb/storage/isd200.c | 2 ++ drivers/usb/storage/jumpshot.c | 2 ++ drivers/usb/storage/karma.c | 2 ++ drivers/usb/storage/onetouch.c | 2 ++ drivers/usb/storage/option_ms.c | 2 ++ drivers/usb/storage/option_ms.h | 1 + drivers/usb/storage/protocol.c | 2 ++ drivers/usb/storage/protocol.h | 2 ++ drivers/usb/storage/realtek_cr.c | 2 ++ drivers/usb/storage/scsiglue.c | 2 ++ drivers/usb/storage/scsiglue.h | 2 ++ drivers/usb/storage/sddr09.c | 2 ++ drivers/usb/storage/sddr55.c | 2 ++ drivers/usb/storage/shuttle_usbat.c | 2 ++ drivers/usb/storage/sierra_ms.c | 1 + drivers/usb/storage/sierra_ms.h | 1 + drivers/usb/storage/transport.c | 2 ++ drivers/usb/storage/transport.h | 2 ++ drivers/usb/storage/uas-detect.h | 1 + drivers/usb/storage/uas.c | 2 ++ drivers/usb/storage/unusual_alauda.h | 2 ++ drivers/usb/storage/unusual_cypress.h | 2 ++ drivers/usb/storage/unusual_datafab.h | 2 ++ drivers/usb/storage/unusual_devs.h | 2 ++ drivers/usb/storage/unusual_ene_ub6250.h | 2 ++ drivers/usb/storage/unusual_freecom.h | 2 ++ drivers/usb/storage/unusual_isd200.h | 2 ++ drivers/usb/storage/unusual_jumpshot.h | 2 ++ drivers/usb/storage/unusual_karma.h | 2 ++ drivers/usb/storage/unusual_onetouch.h | 2 ++ drivers/usb/storage/unusual_realtek.h | 2 ++ drivers/usb/storage/unusual_sddr09.h | 2 ++ drivers/usb/storage/unusual_sddr55.h | 2 ++ drivers/usb/storage/unusual_uas.h | 2 ++ drivers/usb/storage/unusual_usbat.h | 2 ++ drivers/usb/storage/usb.c | 2 ++ drivers/usb/storage/usb.h | 2 ++ drivers/usb/storage/usual-tables.c | 2 ++ drivers/usb/typec/typec.c | 2 ++ drivers/usb/typec/typec_wcove.c | 2 ++ drivers/usb/typec/ucsi/Makefile | 1 + drivers/usb/typec/ucsi/debug.h | 1 + drivers/usb/typec/ucsi/trace.h | 1 + drivers/usb/typec/ucsi/ucsi.c | 2 ++ drivers/usb/typec/ucsi/ucsi.h | 1 + drivers/usb/typec/ucsi/ucsi_acpi.c | 2 ++ drivers/usb/usb-skeleton.c | 2 ++ drivers/usb/usbip/Makefile | 1 + drivers/usb/usbip/stub.h | 2 ++ drivers/usb/usbip/stub_dev.c | 2 ++ drivers/usb/usbip/stub_main.c | 2 ++ drivers/usb/usbip/stub_rx.c | 2 ++ drivers/usb/usbip/stub_tx.c | 2 ++ drivers/usb/usbip/usbip_common.c | 2 ++ drivers/usb/usbip/usbip_common.h | 2 ++ drivers/usb/usbip/usbip_event.c | 2 ++ drivers/usb/usbip/vhci.h | 2 ++ drivers/usb/usbip/vhci_hcd.c | 2 ++ drivers/usb/usbip/vhci_rx.c | 2 ++ drivers/usb/usbip/vhci_sysfs.c | 2 ++ drivers/usb/usbip/vhci_tx.c | 2 ++ drivers/usb/usbip/vudc.h | 2 ++ drivers/usb/usbip/vudc_dev.c | 2 ++ drivers/usb/usbip/vudc_main.c | 2 ++ drivers/usb/usbip/vudc_rx.c | 2 ++ drivers/usb/usbip/vudc_sysfs.c | 2 ++ drivers/usb/usbip/vudc_transfer.c | 2 ++ drivers/usb/usbip/vudc_tx.c | 2 ++ drivers/usb/wusbcore/Makefile | 1 + drivers/usb/wusbcore/cbaf.c | 2 ++ drivers/usb/wusbcore/crypto.c | 2 ++ drivers/usb/wusbcore/dev-sysfs.c | 2 ++ drivers/usb/wusbcore/devconnect.c | 2 ++ drivers/usb/wusbcore/mmc.c | 2 ++ drivers/usb/wusbcore/pal.c | 2 ++ drivers/usb/wusbcore/reservation.c | 2 ++ drivers/usb/wusbcore/rh.c | 2 ++ drivers/usb/wusbcore/security.c | 2 ++ drivers/usb/wusbcore/wa-hc.c | 2 ++ drivers/usb/wusbcore/wa-hc.h | 2 ++ drivers/usb/wusbcore/wa-nep.c | 2 ++ drivers/usb/wusbcore/wa-rpipe.c | 2 ++ drivers/usb/wusbcore/wa-xfer.c | 2 ++ drivers/usb/wusbcore/wusbhc.c | 2 ++ drivers/usb/wusbcore/wusbhc.h | 2 ++ 685 files changed, 1325 insertions(+), 6 deletions(-)
Hi Greg,
Quoted 16 lines · Greg Kroah-Hartman
Quoted 15 lines · Geert Uytterhoeven
Quoted 12 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. This patch adds these identifiers to all files in
drivers/usb/based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.
Quoted 6 lines
Quoted 1 line
It would be good to include a diffstat, esp. when touching +600 files.
I wanted to, but I was worried it would be too long to prevent the patch from hitting the list :)
Here it is:
[...]
Thanks!
BTW, some files seem to be "SPDX-License-Identifier: GPL-1.0+". Was this intentional, given COPYING says the default is v2?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Quoted 23 lines · Geert Uytterhoeven
Quoted 21 lines · Greg Kroah-Hartman
Quoted 15 lines · Geert Uytterhoeven
Quoted 5 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. This patch adds these identifiers to all files in
drivers/usb/based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.Quoted 7 lines
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.Quoted 1 line
It would be good to include a diffstat, esp. when touching +600 files.
I wanted to, but I was worried it would be too long to prevent the patch from hitting the list :)
Quoted 8 lines
Quoted 1 line
Here it is:
[...]
Thanks!
BTW, some files seem to be "SPDX-License-Identifier: GPL-1.0+". Was this intentional, given COPYING says the default is v2?
Yes. The license mentioned in the file says something like:
This is licensed under GPL.
which is equivalent to GPL-1.0+.
Thanks,
tglx
Felipe Balbi
Acked-byHi,
Quoted 703 lines · Greg Kroah-Hartman
Quoted 17 lines · Geert Uytterhoeven
Hi Greg,
Quoted 5 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. This patch adds these identifiers to all files in
drivers/usb/based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.Quoted 7 lines
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.Quoted 1 line
It would be good to include a diffstat, esp. when touching +600 files.
I wanted to, but I was worried it would be too long to prevent the patch from hitting the list :)
Here it is:
drivers/usb/Makefile | 1 + drivers/usb/atm/Makefile | 1 + drivers/usb/atm/cxacru.c | 1 + drivers/usb/atm/speedtch.c | 1 + drivers/usb/atm/ueagle-atm.c | 2 ++ drivers/usb/atm/usbatm.c | 1 + drivers/usb/atm/usbatm.h | 1 + drivers/usb/atm/xusbatm.c | 1 + drivers/usb/c67x00/c67x00-drv.c | 2 ++ drivers/usb/c67x00/c67x00-hcd.c | 2 ++ drivers/usb/c67x00/c67x00-hcd.h | 2 ++ drivers/usb/c67x00/c67x00-ll-hpi.c | 2 ++ drivers/usb/c67x00/c67x00-sched.c | 2 ++ drivers/usb/c67x00/c67x00.h | 2 ++ drivers/usb/chipidea/Makefile | 1 + drivers/usb/chipidea/bits.h | 2 ++ drivers/usb/chipidea/ci.h | 2 ++ drivers/usb/chipidea/ci_hdrc_imx.c | 2 ++ drivers/usb/chipidea/ci_hdrc_imx.h | 2 ++ drivers/usb/chipidea/ci_hdrc_msm.c | 2 ++ drivers/usb/chipidea/ci_hdrc_pci.c | 2 ++ drivers/usb/chipidea/ci_hdrc_usb2.c | 2 ++ drivers/usb/chipidea/ci_hdrc_zevio.c | 2 ++ drivers/usb/chipidea/core.c | 2 ++ drivers/usb/chipidea/debug.c | 1 + drivers/usb/chipidea/host.c | 2 ++ drivers/usb/chipidea/host.h | 1 + drivers/usb/chipidea/otg.c | 2 ++ drivers/usb/chipidea/otg.h | 2 ++ drivers/usb/chipidea/otg_fsm.c | 2 ++ drivers/usb/chipidea/otg_fsm.h | 2 ++ drivers/usb/chipidea/udc.c | 2 ++ drivers/usb/chipidea/udc.h | 2 ++ drivers/usb/chipidea/ulpi.c | 2 ++ drivers/usb/chipidea/usbmisc_imx.c | 2 ++ drivers/usb/class/cdc-acm.c | 2 ++ drivers/usb/class/cdc-acm.h | 2 ++ drivers/usb/class/cdc-wdm.c | 2 ++ drivers/usb/class/usblp.c | 2 ++ drivers/usb/class/usbtmc.c | 2 ++ drivers/usb/common/Makefile | 1 + drivers/usb/common/common.c | 2 ++ drivers/usb/common/led.c | 2 ++ drivers/usb/common/ulpi.c | 2 ++ drivers/usb/common/usb-otg-fsm.c | 2 ++ drivers/usb/core/Makefile | 1 + drivers/usb/core/devices.c | 2 ++ drivers/usb/core/devio.c | 6 +++++- drivers/usb/core/hcd-pci.c | 2 ++ drivers/usb/core/hcd.c | 2 ++ drivers/usb/core/hub.h | 2 ++ drivers/usb/core/ledtrig-usbport.c | 2 ++ drivers/usb/core/of.c | 2 ++ drivers/usb/core/otg_whitelist.h | 2 ++ drivers/usb/core/port.c | 2 ++ drivers/usb/core/quirks.c | 2 ++ drivers/usb/core/usb-acpi.c | 2 ++ drivers/usb/dwc2/Makefile | 1 + drivers/usb/dwc2/core.c | 2 ++ drivers/usb/dwc2/core.h | 2 ++ drivers/usb/dwc2/core_intr.c | 2 ++ drivers/usb/dwc2/debug.h | 2 ++ drivers/usb/dwc2/debugfs.c | 2 ++ drivers/usb/dwc2/gadget.c | 2 ++ drivers/usb/dwc2/hcd.c | 2 ++ drivers/usb/dwc2/hcd.h | 2 ++ drivers/usb/dwc2/hcd_ddma.c | 2 ++ drivers/usb/dwc2/hcd_intr.c | 2 ++ drivers/usb/dwc2/hcd_queue.c | 2 ++ drivers/usb/dwc2/hw.h | 2 ++ drivers/usb/dwc2/params.c | 2 ++ drivers/usb/dwc2/pci.c | 2 ++ drivers/usb/dwc2/platform.c | 2 ++ drivers/usb/dwc3/Makefile | 1 + drivers/usb/dwc3/core.c | 2 ++ drivers/usb/dwc3/core.h | 2 ++ drivers/usb/dwc3/debug.h | 2 ++ drivers/usb/dwc3/debugfs.c | 2 ++ drivers/usb/dwc3/drd.c | 2 ++ drivers/usb/dwc3/dwc3-exynos.c | 2 ++ drivers/usb/dwc3/dwc3-keystone.c | 2 ++ drivers/usb/dwc3/dwc3-of-simple.c | 2 ++ drivers/usb/dwc3/dwc3-omap.c | 2 ++ drivers/usb/dwc3/dwc3-pci.c | 2 ++ drivers/usb/dwc3/dwc3-st.c | 2 ++ drivers/usb/dwc3/ep0.c | 2 ++ drivers/usb/dwc3/gadget.c | 2 ++ drivers/usb/dwc3/gadget.h | 2 ++ drivers/usb/dwc3/host.c | 2 ++ drivers/usb/dwc3/io.h | 2 ++ drivers/usb/dwc3/trace.c | 2 ++ drivers/usb/dwc3/trace.h | 2 ++ drivers/usb/dwc3/ulpi.c | 2 ++ drivers/usb/early/ehci-dbgp.c | 2 ++ drivers/usb/early/xhci-dbc.c | 2 ++ drivers/usb/early/xhci-dbc.h | 2 ++ drivers/usb/gadget/Makefile | 1 + drivers/usb/gadget/composite.c | 2 ++ drivers/usb/gadget/config.c | 2 ++ drivers/usb/gadget/configfs.c | 1 + drivers/usb/gadget/configfs.h | 1 + drivers/usb/gadget/epautoconf.c | 2 ++ drivers/usb/gadget/function/Makefile | 1 + drivers/usb/gadget/function/f_acm.c | 2 ++ drivers/usb/gadget/function/f_ecm.c | 2 ++ drivers/usb/gadget/function/f_eem.c | 2 ++ drivers/usb/gadget/function/f_fs.c | 2 ++ drivers/usb/gadget/function/f_hid.c | 2 ++ drivers/usb/gadget/function/f_loopback.c | 2 ++ drivers/usb/gadget/function/f_mass_storage.c | 2 ++ drivers/usb/gadget/function/f_mass_storage.h | 1 + drivers/usb/gadget/function/f_midi.c | 2 ++ drivers/usb/gadget/function/f_ncm.c | 2 ++ drivers/usb/gadget/function/f_obex.c | 2 ++ drivers/usb/gadget/function/f_phonet.c | 2 ++ drivers/usb/gadget/function/f_printer.c | 2 ++ drivers/usb/gadget/function/f_rndis.c | 2 ++ drivers/usb/gadget/function/f_serial.c | 2 ++ drivers/usb/gadget/function/f_sourcesink.c | 2 ++ drivers/usb/gadget/function/f_subset.c | 2 ++ drivers/usb/gadget/function/f_tcm.c | 2 ++ drivers/usb/gadget/function/f_uac1.c | 2 ++ drivers/usb/gadget/function/f_uac1_legacy.c | 2 ++ drivers/usb/gadget/function/f_uac2.c | 2 ++ drivers/usb/gadget/function/f_uvc.c | 2 ++ drivers/usb/gadget/function/f_uvc.h | 2 ++ drivers/usb/gadget/function/g_zero.h | 2 ++ drivers/usb/gadget/function/rndis.c | 2 ++ drivers/usb/gadget/function/rndis.h | 2 ++ drivers/usb/gadget/function/storage_common.c | 2 ++ drivers/usb/gadget/function/storage_common.h | 1 + drivers/usb/gadget/function/tcm.h | 1 + drivers/usb/gadget/function/u_audio.c | 2 ++ drivers/usb/gadget/function/u_audio.h | 2 ++ drivers/usb/gadget/function/u_ecm.h | 2 ++ drivers/usb/gadget/function/u_eem.h | 2 ++ drivers/usb/gadget/function/u_ether.c | 2 ++ drivers/usb/gadget/function/u_ether.h | 2 ++ drivers/usb/gadget/function/u_ether_configfs.h | 2 ++ drivers/usb/gadget/function/u_fs.h | 2 ++ drivers/usb/gadget/function/u_gether.h | 2 ++ drivers/usb/gadget/function/u_hid.h | 2 ++ drivers/usb/gadget/function/u_midi.h | 2 ++ drivers/usb/gadget/function/u_ncm.h | 2 ++ drivers/usb/gadget/function/u_phonet.h | 2 ++ drivers/usb/gadget/function/u_printer.h | 2 ++ drivers/usb/gadget/function/u_rndis.h | 2 ++ drivers/usb/gadget/function/u_serial.c | 2 ++ drivers/usb/gadget/function/u_serial.h | 2 ++ drivers/usb/gadget/function/u_tcm.h | 2 ++ drivers/usb/gadget/function/u_uac1.h | 2 ++ drivers/usb/gadget/function/u_uac1_legacy.c | 2 ++ drivers/usb/gadget/function/u_uac1_legacy.h | 2 ++ drivers/usb/gadget/function/u_uac2.h | 2 ++ drivers/usb/gadget/function/u_uvc.h | 2 ++ drivers/usb/gadget/function/uvc.h | 2 ++ drivers/usb/gadget/function/uvc_configfs.c | 2 ++ drivers/usb/gadget/function/uvc_configfs.h | 2 ++ drivers/usb/gadget/function/uvc_queue.c | 2 ++ drivers/usb/gadget/function/uvc_queue.h | 1 + drivers/usb/gadget/function/uvc_v4l2.c | 2 ++ drivers/usb/gadget/function/uvc_v4l2.h | 2 ++ drivers/usb/gadget/function/uvc_video.c | 2 ++ drivers/usb/gadget/function/uvc_video.h | 2 ++ drivers/usb/gadget/functions.c | 1 + drivers/usb/gadget/legacy/Makefile | 1 + drivers/usb/gadget/legacy/acm_ms.c | 2 ++ drivers/usb/gadget/legacy/audio.c | 2 ++ drivers/usb/gadget/legacy/cdc2.c | 2 ++ drivers/usb/gadget/legacy/dbgp.c | 2 ++ drivers/usb/gadget/legacy/ether.c | 2 ++ drivers/usb/gadget/legacy/g_ffs.c | 2 ++ drivers/usb/gadget/legacy/gmidi.c | 2 ++ drivers/usb/gadget/legacy/hid.c | 2 ++ drivers/usb/gadget/legacy/inode.c | 2 ++ drivers/usb/gadget/legacy/mass_storage.c | 2 ++ drivers/usb/gadget/legacy/multi.c | 2 ++ drivers/usb/gadget/legacy/ncm.c | 2 ++ drivers/usb/gadget/legacy/nokia.c | 2 ++ drivers/usb/gadget/legacy/printer.c | 2 ++ drivers/usb/gadget/legacy/serial.c | 2 ++ drivers/usb/gadget/legacy/tcm_usb_gadget.c | 2 ++ drivers/usb/gadget/legacy/webcam.c | 2 ++ drivers/usb/gadget/legacy/zero.c | 2 ++ drivers/usb/gadget/u_f.c | 2 ++ drivers/usb/gadget/u_f.h | 2 ++ drivers/usb/gadget/u_os_desc.h | 2 ++ drivers/usb/gadget/udc/Makefile | 1 + drivers/usb/gadget/udc/amd5536udc.h | 2 ++ drivers/usb/gadget/udc/amd5536udc_pci.c | 2 ++ drivers/usb/gadget/udc/at91_udc.c | 2 ++ drivers/usb/gadget/udc/at91_udc.h | 2 ++ drivers/usb/gadget/udc/atmel_usba_udc.c | 2 ++ drivers/usb/gadget/udc/atmel_usba_udc.h | 2 ++ drivers/usb/gadget/udc/bcm63xx_udc.c | 2 ++ drivers/usb/gadget/udc/bdc/Makefile | 1 + drivers/usb/gadget/udc/bdc/bdc.h | 2 ++ drivers/usb/gadget/udc/bdc/bdc_cmd.c | 2 ++ drivers/usb/gadget/udc/bdc/bdc_cmd.h | 2 ++ drivers/usb/gadget/udc/bdc/bdc_core.c | 2 ++ drivers/usb/gadget/udc/bdc/bdc_dbg.c | 2 ++ drivers/usb/gadget/udc/bdc/bdc_dbg.h | 2 ++ drivers/usb/gadget/udc/bdc/bdc_ep.c | 2 ++ drivers/usb/gadget/udc/bdc/bdc_ep.h | 2 ++ drivers/usb/gadget/udc/bdc/bdc_pci.c | 2 ++ drivers/usb/gadget/udc/bdc/bdc_udc.c | 2 ++ drivers/usb/gadget/udc/core.c | 2 ++ drivers/usb/gadget/udc/dummy_hcd.c | 2 ++ drivers/usb/gadget/udc/fotg210-udc.c | 2 ++ drivers/usb/gadget/udc/fotg210.h | 2 ++ drivers/usb/gadget/udc/fsl_mxc_udc.c | 2 ++ drivers/usb/gadget/udc/fsl_qe_udc.c | 2 ++ drivers/usb/gadget/udc/fsl_qe_udc.h | 2 ++ drivers/usb/gadget/udc/fsl_udc_core.c | 2 ++ drivers/usb/gadget/udc/fsl_usb2_udc.h | 2 ++ drivers/usb/gadget/udc/fusb300_udc.c | 2 ++ drivers/usb/gadget/udc/fusb300_udc.h | 2 ++ drivers/usb/gadget/udc/goku_udc.c | 2 ++ drivers/usb/gadget/udc/goku_udc.h | 2 ++ drivers/usb/gadget/udc/gr_udc.c | 2 ++ drivers/usb/gadget/udc/gr_udc.h | 2 ++ drivers/usb/gadget/udc/lpc32xx_udc.c | 2 ++ drivers/usb/gadget/udc/m66592-udc.c | 2 ++ drivers/usb/gadget/udc/m66592-udc.h | 2 ++ drivers/usb/gadget/udc/mv_u3d.h | 2 ++ drivers/usb/gadget/udc/mv_u3d_core.c | 2 ++ drivers/usb/gadget/udc/mv_udc.h | 2 ++ drivers/usb/gadget/udc/mv_udc_core.c | 2 ++ drivers/usb/gadget/udc/net2272.c | 2 ++ drivers/usb/gadget/udc/net2272.h | 2 ++ drivers/usb/gadget/udc/net2280.c | 2 ++ drivers/usb/gadget/udc/net2280.h | 2 ++ drivers/usb/gadget/udc/omap_udc.c | 2 ++ drivers/usb/gadget/udc/omap_udc.h | 2 ++ drivers/usb/gadget/udc/pch_udc.c | 2 ++ drivers/usb/gadget/udc/pxa25x_udc.c | 2 ++ drivers/usb/gadget/udc/pxa25x_udc.h | 2 ++ drivers/usb/gadget/udc/pxa27x_udc.c | 2 ++ drivers/usb/gadget/udc/pxa27x_udc.h | 2 ++ drivers/usb/gadget/udc/r8a66597-udc.c | 2 ++ drivers/usb/gadget/udc/r8a66597-udc.h | 2 ++ drivers/usb/gadget/udc/renesas_usb3.c | 2 ++ drivers/usb/gadget/udc/s3c-hsudc.c | 2 ++ drivers/usb/gadget/udc/s3c2410_udc.c | 2 ++ drivers/usb/gadget/udc/s3c2410_udc.h | 2 ++ drivers/usb/gadget/udc/snps_udc_core.c | 2 ++ drivers/usb/gadget/udc/snps_udc_plat.c | 2 ++ drivers/usb/gadget/udc/trace.c | 2 ++ drivers/usb/gadget/udc/trace.h | 2 ++ drivers/usb/gadget/udc/udc-xilinx.c | 2 ++ drivers/usb/gadget/usbstring.c | 2 ++ drivers/usb/host/Makefile | 1 + drivers/usb/host/bcma-hcd.c | 2 ++ drivers/usb/host/ehci-atmel.c | 2 ++ drivers/usb/host/ehci-dbg.c | 2 ++ drivers/usb/host/ehci-exynos.c | 2 ++ drivers/usb/host/ehci-fsl.c | 2 ++ drivers/usb/host/ehci-fsl.h | 2 ++ drivers/usb/host/ehci-grlib.c | 2 ++ drivers/usb/host/ehci-hcd.c | 2 ++ drivers/usb/host/ehci-hub.c | 2 ++ drivers/usb/host/ehci-mem.c | 2 ++ drivers/usb/host/ehci-msm.c | 2 ++ drivers/usb/host/ehci-mv.c | 2 ++ drivers/usb/host/ehci-mxc.c | 2 ++ drivers/usb/host/ehci-omap.c | 2 ++ drivers/usb/host/ehci-orion.c | 2 ++ drivers/usb/host/ehci-pci.c | 2 ++ drivers/usb/host/ehci-platform.c | 2 ++ drivers/usb/host/ehci-pmcmsp.c | 2 ++ drivers/usb/host/ehci-ppc-of.c | 2 ++ drivers/usb/host/ehci-ps3.c | 2 ++ drivers/usb/host/ehci-q.c | 2 ++ drivers/usb/host/ehci-sched.c | 2 ++ drivers/usb/host/ehci-sh.c | 2 ++ drivers/usb/host/ehci-spear.c | 2 ++ drivers/usb/host/ehci-st.c | 2 ++ drivers/usb/host/ehci-sysfs.c | 2 ++ drivers/usb/host/ehci-tegra.c | 2 ++ drivers/usb/host/ehci-tilegx.c | 2 ++ drivers/usb/host/ehci-timer.c | 2 ++ drivers/usb/host/ehci-w90x900.c | 2 ++ drivers/usb/host/ehci-xilinx-of.c | 2 ++ drivers/usb/host/ehci.h | 2 ++ drivers/usb/host/fhci-dbg.c | 2 ++ drivers/usb/host/fhci-hcd.c | 2 ++ drivers/usb/host/fhci-hub.c | 2 ++ drivers/usb/host/fhci-mem.c | 2 ++ drivers/usb/host/fhci-q.c | 2 ++ drivers/usb/host/fhci-sched.c | 2 ++ drivers/usb/host/fhci-tds.c | 2 ++ drivers/usb/host/fhci.h | 2 ++ drivers/usb/host/fotg210-hcd.c | 2 ++ drivers/usb/host/fotg210.h | 1 + drivers/usb/host/fsl-mph-dr-of.c | 2 ++ drivers/usb/host/hwa-hc.c | 2 ++ drivers/usb/host/imx21-dbg.c | 2 ++ drivers/usb/host/imx21-hcd.c | 2 ++ drivers/usb/host/imx21-hcd.h | 2 ++ drivers/usb/host/isp116x-hcd.c | 2 ++ drivers/usb/host/isp116x.h | 2 ++ drivers/usb/host/isp1362-hcd.c | 2 ++ drivers/usb/host/isp1362.h | 2 ++ drivers/usb/host/max3421-hcd.c | 2 ++ drivers/usb/host/ohci-at91.c | 2 ++ drivers/usb/host/ohci-da8xx.c | 2 ++ drivers/usb/host/ohci-dbg.c | 2 ++ drivers/usb/host/ohci-exynos.c | 2 ++ drivers/usb/host/ohci-hcd.c | 2 ++ drivers/usb/host/ohci-hub.c | 2 ++ drivers/usb/host/ohci-mem.c | 2 ++ drivers/usb/host/ohci-nxp.c | 2 ++ drivers/usb/host/ohci-omap.c | 2 ++ drivers/usb/host/ohci-pci.c | 2 ++ drivers/usb/host/ohci-platform.c | 2 ++ drivers/usb/host/ohci-ppc-of.c | 2 ++ drivers/usb/host/ohci-ps3.c | 2 ++ drivers/usb/host/ohci-pxa27x.c | 2 ++ drivers/usb/host/ohci-q.c | 2 ++ drivers/usb/host/ohci-s3c2410.c | 2 ++ drivers/usb/host/ohci-sa1111.c | 2 ++ drivers/usb/host/ohci-sm501.c | 2 ++ drivers/usb/host/ohci-spear.c | 2 ++ drivers/usb/host/ohci-st.c | 2 ++ drivers/usb/host/ohci-tilegx.c | 2 ++ drivers/usb/host/ohci-tmio.c | 2 ++ drivers/usb/host/ohci.h | 2 ++ drivers/usb/host/oxu210hp-hcd.c | 2 ++ drivers/usb/host/oxu210hp.h | 2 ++ drivers/usb/host/pci-quirks.c | 2 ++ drivers/usb/host/pci-quirks.h | 1 + drivers/usb/host/r8a66597-hcd.c | 2 ++ drivers/usb/host/r8a66597.h | 2 ++ drivers/usb/host/sl811-hcd.c | 2 ++ drivers/usb/host/sl811.h | 2 ++ drivers/usb/host/sl811_cs.c | 2 ++ drivers/usb/host/ssb-hcd.c | 2 ++ drivers/usb/host/u132-hcd.c | 2 ++ drivers/usb/host/uhci-debug.c | 2 ++ drivers/usb/host/uhci-grlib.c | 2 ++ drivers/usb/host/uhci-hcd.c | 2 ++ drivers/usb/host/uhci-hcd.h | 1 + drivers/usb/host/uhci-hub.c | 2 ++ drivers/usb/host/uhci-pci.c | 2 ++ drivers/usb/host/uhci-platform.c | 2 ++ drivers/usb/host/uhci-q.c | 2 ++ drivers/usb/host/whci/asl.c | 2 ++ drivers/usb/host/whci/debug.c | 2 ++ drivers/usb/host/whci/hcd.c | 2 ++ drivers/usb/host/whci/hw.c | 2 ++ drivers/usb/host/whci/init.c | 2 ++ drivers/usb/host/whci/int.c | 2 ++ drivers/usb/host/whci/pzl.c | 2 ++ drivers/usb/host/whci/qset.c | 2 ++ drivers/usb/host/whci/whcd.h | 2 ++ drivers/usb/host/whci/whci-hc.h | 2 ++ drivers/usb/host/whci/wusb.c | 2 ++ drivers/usb/host/xhci-dbg.c | 2 ++ drivers/usb/host/xhci-ext-caps.h | 2 ++ drivers/usb/host/xhci-hub.c | 2 ++ drivers/usb/host/xhci-mem.c | 2 ++ drivers/usb/host/xhci-mtk-sch.c | 2 ++ drivers/usb/host/xhci-mtk.c | 2 ++ drivers/usb/host/xhci-mtk.h | 2 ++ drivers/usb/host/xhci-mvebu.c | 2 ++ drivers/usb/host/xhci-mvebu.h | 2 ++ drivers/usb/host/xhci-pci.c | 2 ++ drivers/usb/host/xhci-plat.c | 2 ++ drivers/usb/host/xhci-plat.h | 2 ++ drivers/usb/host/xhci-rcar.c | 2 ++ drivers/usb/host/xhci-rcar.h | 2 ++ drivers/usb/host/xhci-ring.c | 2 ++ drivers/usb/host/xhci-tegra.c | 2 ++ drivers/usb/host/xhci-trace.c | 2 ++ drivers/usb/host/xhci-trace.h | 2 ++ drivers/usb/host/xhci.c | 2 ++ drivers/usb/host/xhci.h | 2 ++ drivers/usb/image/mdc800.c | 2 ++ drivers/usb/image/microtek.c | 2 ++ drivers/usb/isp1760/isp1760-core.c | 2 ++ drivers/usb/isp1760/isp1760-core.h | 2 ++ drivers/usb/isp1760/isp1760-hcd.c | 2 ++ drivers/usb/isp1760/isp1760-hcd.h | 1 + drivers/usb/isp1760/isp1760-if.c | 2 ++ drivers/usb/isp1760/isp1760-regs.h | 2 ++ drivers/usb/isp1760/isp1760-udc.c | 2 ++ drivers/usb/isp1760/isp1760-udc.h | 2 ++ drivers/usb/misc/Makefile | 1 + drivers/usb/misc/adutux.c | 2 ++ drivers/usb/misc/appledisplay.c | 2 ++ drivers/usb/misc/chaoskey.c | 2 ++ drivers/usb/misc/cypress_cy7c63.c | 2 ++ drivers/usb/misc/cytherm.c | 2 ++ drivers/usb/misc/ehset.c | 2 ++ drivers/usb/misc/emi26.c | 2 ++ drivers/usb/misc/emi62.c | 2 ++ drivers/usb/misc/ezusb.c | 2 ++ drivers/usb/misc/ftdi-elan.c | 2 ++ drivers/usb/misc/idmouse.c | 2 ++ drivers/usb/misc/iowarrior.c | 2 ++ drivers/usb/misc/isight_firmware.c | 2 ++ drivers/usb/misc/ldusb.c | 2 ++ drivers/usb/misc/legousbtower.c | 2 ++ drivers/usb/misc/lvstest.c | 2 ++ drivers/usb/misc/rio500.c | 6 +++++- drivers/usb/misc/rio500_usb.h | 1 + drivers/usb/misc/sisusbvga/sisusb.c | 2 ++ drivers/usb/misc/sisusbvga/sisusb.h | 2 ++ drivers/usb/misc/sisusbvga/sisusb_con.c | 2 ++ drivers/usb/misc/sisusbvga/sisusb_init.c | 2 ++ drivers/usb/misc/sisusbvga/sisusb_init.h | 6 +++++- drivers/usb/misc/sisusbvga/sisusb_struct.h | 2 ++ drivers/usb/misc/trancevibrator.c | 2 ++ drivers/usb/misc/usb251xb.c | 2 ++ drivers/usb/misc/usb3503.c | 2 ++ drivers/usb/misc/usb4604.c | 2 ++ drivers/usb/misc/usb_u132.h | 2 ++ drivers/usb/misc/usblcd.c | 1 + drivers/usb/misc/usbsevseg.c | 2 ++ drivers/usb/misc/usbtest.c | 1 + drivers/usb/misc/uss720.c | 6 +++++- drivers/usb/misc/yurex.c | 2 ++ drivers/usb/mon/mon_bin.c | 2 ++ drivers/usb/mon/mon_main.c | 2 ++ drivers/usb/mon/mon_stat.c | 2 ++ drivers/usb/mon/mon_text.c | 2 ++ drivers/usb/mon/usb_mon.h | 2 ++ drivers/usb/mtu3/Makefile | 1 + drivers/usb/mtu3/mtu3.h | 2 ++ drivers/usb/mtu3/mtu3_core.c | 2 ++ drivers/usb/mtu3/mtu3_dr.c | 2 ++ drivers/usb/mtu3/mtu3_dr.h | 2 ++ drivers/usb/mtu3/mtu3_gadget.c | 2 ++ drivers/usb/mtu3/mtu3_gadget_ep0.c | 2 ++ drivers/usb/mtu3/mtu3_host.c | 2 ++ drivers/usb/mtu3/mtu3_hw_regs.h | 2 ++ drivers/usb/mtu3/mtu3_plat.c | 2 ++ drivers/usb/mtu3/mtu3_qmu.c | 2 ++ drivers/usb/mtu3/mtu3_qmu.h | 2 ++ drivers/usb/musb/Makefile | 1 + drivers/usb/musb/am35x.c | 2 ++ drivers/usb/musb/blackfin.c | 2 ++ drivers/usb/musb/blackfin.h | 2 ++ drivers/usb/musb/cppi_dma.c | 2 ++ drivers/usb/musb/cppi_dma.h | 6 +++++- drivers/usb/musb/da8xx.c | 2 ++ drivers/usb/musb/davinci.c | 2 ++ drivers/usb/musb/davinci.h | 2 ++ drivers/usb/musb/jz4740.c | 2 ++ drivers/usb/musb/musb_am335x.c | 1 + drivers/usb/musb/musb_core.c | 2 ++ drivers/usb/musb/musb_core.h | 2 ++ drivers/usb/musb/musb_cppi41.c | 1 + drivers/usb/musb/musb_debug.h | 2 ++ drivers/usb/musb/musb_debugfs.c | 2 ++ drivers/usb/musb/musb_dma.h | 2 ++ drivers/usb/musb/musb_dsps.c | 2 ++ drivers/usb/musb/musb_gadget.c | 2 ++ drivers/usb/musb/musb_gadget.h | 2 ++ drivers/usb/musb/musb_gadget_ep0.c | 2 ++ drivers/usb/musb/musb_host.c | 2 ++ drivers/usb/musb/musb_host.h | 2 ++ drivers/usb/musb/musb_io.h | 2 ++ drivers/usb/musb/musb_regs.h | 2 ++ drivers/usb/musb/musb_trace.c | 2 ++ drivers/usb/musb/musb_trace.h | 2 ++ drivers/usb/musb/musb_virthub.c | 2 ++ drivers/usb/musb/musbhsdma.c | 2 ++ drivers/usb/musb/musbhsdma.h | 2 ++ drivers/usb/musb/omap2430.c | 2 ++ drivers/usb/musb/omap2430.h | 2 ++ drivers/usb/musb/sunxi.c | 2 ++ drivers/usb/musb/tusb6010.c | 2 ++ drivers/usb/musb/tusb6010.h | 2 ++ drivers/usb/musb/tusb6010_omap.c | 2 ++ drivers/usb/musb/ux500.c | 2 ++ drivers/usb/musb/ux500_dma.c | 2 ++ drivers/usb/phy/Makefile | 1 + drivers/usb/phy/of.c | 2 ++ drivers/usb/phy/phy-ab8500-usb.c | 2 ++ drivers/usb/phy/phy-am335x-control.c | 1 + drivers/usb/phy/phy-am335x-control.h | 1 + drivers/usb/phy/phy-am335x.c | 1 + drivers/usb/phy/phy-fsl-usb.c | 2 ++ drivers/usb/phy/phy-fsl-usb.h | 2 ++ drivers/usb/phy/phy-generic.c | 2 ++ drivers/usb/phy/phy-generic.h | 1 + drivers/usb/phy/phy-gpio-vbus-usb.c | 2 ++ drivers/usb/phy/phy-isp1301-omap.c | 2 ++ drivers/usb/phy/phy-isp1301.c | 2 ++ drivers/usb/phy/phy-keystone.c | 2 ++ drivers/usb/phy/phy-msm-usb.c | 2 ++ drivers/usb/phy/phy-mv-usb.c | 2 ++ drivers/usb/phy/phy-mv-usb.h | 2 ++ drivers/usb/phy/phy-mxs-usb.c | 2 ++ drivers/usb/phy/phy-omap-otg.c | 2 ++ drivers/usb/phy/phy-qcom-8x16-usb.c | 2 ++ drivers/usb/phy/phy-tahvo.c | 2 ++ drivers/usb/phy/phy-tegra-usb.c | 2 ++ drivers/usb/phy/phy-twl6030-usb.c | 2 ++ drivers/usb/phy/phy-ulpi-viewport.c | 2 ++ drivers/usb/phy/phy-ulpi.c | 2 ++ drivers/usb/phy/phy.c | 2 ++ drivers/usb/renesas_usbhs/Makefile | 1 + drivers/usb/renesas_usbhs/common.c | 2 ++ drivers/usb/renesas_usbhs/common.h | 2 ++ drivers/usb/renesas_usbhs/fifo.c | 2 ++ drivers/usb/renesas_usbhs/fifo.h | 2 ++ drivers/usb/renesas_usbhs/mod.c | 2 ++ drivers/usb/renesas_usbhs/mod.h | 2 ++ drivers/usb/renesas_usbhs/mod_gadget.c | 2 ++ drivers/usb/renesas_usbhs/mod_host.c | 2 ++ drivers/usb/renesas_usbhs/pipe.c | 2 ++ drivers/usb/renesas_usbhs/pipe.h | 2 ++ drivers/usb/renesas_usbhs/rcar2.c | 2 ++ drivers/usb/renesas_usbhs/rcar3.c | 2 ++ drivers/usb/serial/Makefile | 1 + drivers/usb/serial/aircable.c | 2 ++ drivers/usb/serial/ark3116.c | 2 ++ drivers/usb/serial/belkin_sa.c | 2 ++ drivers/usb/serial/belkin_sa.h | 2 ++ drivers/usb/serial/bus.c | 2 ++ drivers/usb/serial/ch341.c | 2 ++ drivers/usb/serial/console.c | 2 ++ drivers/usb/serial/cp210x.c | 2 ++ drivers/usb/serial/cyberjack.c | 2 ++ drivers/usb/serial/cypress_m8.c | 2 ++ drivers/usb/serial/cypress_m8.h | 1 + drivers/usb/serial/digi_acceleport.c | 2 ++ drivers/usb/serial/empeg.c | 2 ++ drivers/usb/serial/f81232.c | 2 ++ drivers/usb/serial/f81534.c | 2 ++ drivers/usb/serial/ftdi_sio.c | 2 ++ drivers/usb/serial/ftdi_sio.h | 2 ++ drivers/usb/serial/ftdi_sio_ids.h | 2 ++ drivers/usb/serial/garmin_gps.c | 2 ++ drivers/usb/serial/generic.c | 2 ++ drivers/usb/serial/io_16654.h | 1 + drivers/usb/serial/io_edgeport.c | 2 ++ drivers/usb/serial/io_edgeport.h | 1 + drivers/usb/serial/io_ionsp.h | 1 + drivers/usb/serial/io_ti.c | 2 ++ drivers/usb/serial/io_ti.h | 1 + drivers/usb/serial/io_usbvend.h | 1 + drivers/usb/serial/ipaq.c | 2 ++ drivers/usb/serial/ipw.c | 2 ++ drivers/usb/serial/ir-usb.c | 2 ++ drivers/usb/serial/iuu_phoenix.c | 2 ++ drivers/usb/serial/iuu_phoenix.h | 2 ++ drivers/usb/serial/keyspan.c | 2 ++ drivers/usb/serial/keyspan_pda.c | 2 ++ drivers/usb/serial/kl5kusb105.c | 2 ++ drivers/usb/serial/kl5kusb105.h | 2 ++ drivers/usb/serial/kobil_sct.c | 2 ++ drivers/usb/serial/kobil_sct.h | 6 +++++- drivers/usb/serial/mct_u232.c | 2 ++ drivers/usb/serial/mct_u232.h | 2 ++ drivers/usb/serial/metro-usb.c | 2 ++ drivers/usb/serial/mos7720.c | 2 ++ drivers/usb/serial/mos7840.c | 2 ++ drivers/usb/serial/mxuport.c | 2 ++ drivers/usb/serial/navman.c | 2 ++ drivers/usb/serial/omninet.c | 2 ++ drivers/usb/serial/opticon.c | 2 ++ drivers/usb/serial/option.c | 2 ++ drivers/usb/serial/oti6858.c | 2 ++ drivers/usb/serial/oti6858.h | 2 ++ drivers/usb/serial/pl2303.c | 2 ++ drivers/usb/serial/pl2303.h | 2 ++ drivers/usb/serial/qcaux.c | 2 ++ drivers/usb/serial/qcserial.c | 2 ++ drivers/usb/serial/quatech2.c | 2 ++ drivers/usb/serial/safe_serial.c | 2 ++ drivers/usb/serial/sierra.c | 2 ++ drivers/usb/serial/spcp8x5.c | 2 ++ drivers/usb/serial/ssu100.c | 2 ++ drivers/usb/serial/symbolserial.c | 2 ++ drivers/usb/serial/ti_usb_3410_5052.c | 2 ++ drivers/usb/serial/upd78f0730.c | 2 ++ drivers/usb/serial/usb-serial-simple.c | 2 ++ drivers/usb/serial/usb-serial.c | 2 ++ drivers/usb/serial/usb-wwan.h | 2 ++ drivers/usb/serial/usb_debug.c | 2 ++ drivers/usb/serial/usb_wwan.c | 2 ++ drivers/usb/serial/visor.c | 2 ++ drivers/usb/serial/visor.h | 2 ++ drivers/usb/serial/whiteheat.c | 2 ++ drivers/usb/serial/whiteheat.h | 2 ++ drivers/usb/serial/wishbone-serial.c | 2 ++ drivers/usb/serial/xsens_mt.c | 2 ++ drivers/usb/storage/Makefile | 1 + drivers/usb/storage/alauda.c | 2 ++ drivers/usb/storage/cypress_atacb.c | 2 ++ drivers/usb/storage/datafab.c | 2 ++ drivers/usb/storage/debug.c | 2 ++ drivers/usb/storage/debug.h | 2 ++ drivers/usb/storage/ene_ub6250.c | 2 ++ drivers/usb/storage/freecom.c | 2 ++ drivers/usb/storage/initializers.c | 2 ++ drivers/usb/storage/initializers.h | 2 ++ drivers/usb/storage/isd200.c | 2 ++ drivers/usb/storage/jumpshot.c | 2 ++ drivers/usb/storage/karma.c | 2 ++ drivers/usb/storage/onetouch.c | 2 ++ drivers/usb/storage/option_ms.c | 2 ++ drivers/usb/storage/option_ms.h | 1 + drivers/usb/storage/protocol.c | 2 ++ drivers/usb/storage/protocol.h | 2 ++ drivers/usb/storage/realtek_cr.c | 2 ++ drivers/usb/storage/scsiglue.c | 2 ++ drivers/usb/storage/scsiglue.h | 2 ++ drivers/usb/storage/sddr09.c | 2 ++ drivers/usb/storage/sddr55.c | 2 ++ drivers/usb/storage/shuttle_usbat.c | 2 ++ drivers/usb/storage/sierra_ms.c | 1 + drivers/usb/storage/sierra_ms.h | 1 + drivers/usb/storage/transport.c | 2 ++ drivers/usb/storage/transport.h | 2 ++ drivers/usb/storage/uas-detect.h | 1 + drivers/usb/storage/uas.c | 2 ++ drivers/usb/storage/unusual_alauda.h | 2 ++ drivers/usb/storage/unusual_cypress.h | 2 ++ drivers/usb/storage/unusual_datafab.h | 2 ++ drivers/usb/storage/unusual_devs.h | 2 ++ drivers/usb/storage/unusual_ene_ub6250.h | 2 ++ drivers/usb/storage/unusual_freecom.h | 2 ++ drivers/usb/storage/unusual_isd200.h | 2 ++ drivers/usb/storage/unusual_jumpshot.h | 2 ++ drivers/usb/storage/unusual_karma.h | 2 ++ drivers/usb/storage/unusual_onetouch.h | 2 ++ drivers/usb/storage/unusual_realtek.h | 2 ++ drivers/usb/storage/unusual_sddr09.h | 2 ++ drivers/usb/storage/unusual_sddr55.h | 2 ++ drivers/usb/storage/unusual_uas.h | 2 ++ drivers/usb/storage/unusual_usbat.h | 2 ++ drivers/usb/storage/usb.c | 2 ++ drivers/usb/storage/usb.h | 2 ++ drivers/usb/storage/usual-tables.c | 2 ++ drivers/usb/typec/typec.c | 2 ++ drivers/usb/typec/typec_wcove.c | 2 ++ drivers/usb/typec/ucsi/Makefile | 1 + drivers/usb/typec/ucsi/debug.h | 1 + drivers/usb/typec/ucsi/trace.h | 1 + drivers/usb/typec/ucsi/ucsi.c | 2 ++ drivers/usb/typec/ucsi/ucsi.h | 1 + drivers/usb/typec/ucsi/ucsi_acpi.c | 2 ++ drivers/usb/usb-skeleton.c | 2 ++ drivers/usb/usbip/Makefile | 1 + drivers/usb/usbip/stub.h | 2 ++ drivers/usb/usbip/stub_dev.c | 2 ++ drivers/usb/usbip/stub_main.c | 2 ++ drivers/usb/usbip/stub_rx.c | 2 ++ drivers/usb/usbip/stub_tx.c | 2 ++ drivers/usb/usbip/usbip_common.c | 2 ++ drivers/usb/usbip/usbip_common.h | 2 ++ drivers/usb/usbip/usbip_event.c | 2 ++ drivers/usb/usbip/vhci.h | 2 ++ drivers/usb/usbip/vhci_hcd.c | 2 ++ drivers/usb/usbip/vhci_rx.c | 2 ++ drivers/usb/usbip/vhci_sysfs.c | 2 ++ drivers/usb/usbip/vhci_tx.c | 2 ++ drivers/usb/usbip/vudc.h | 2 ++ drivers/usb/usbip/vudc_dev.c | 2 ++ drivers/usb/usbip/vudc_main.c | 2 ++ drivers/usb/usbip/vudc_rx.c | 2 ++ drivers/usb/usbip/vudc_sysfs.c | 2 ++ drivers/usb/usbip/vudc_transfer.c | 2 ++ drivers/usb/usbip/vudc_tx.c | 2 ++ drivers/usb/wusbcore/Makefile | 1 + drivers/usb/wusbcore/cbaf.c | 2 ++ drivers/usb/wusbcore/crypto.c | 2 ++ drivers/usb/wusbcore/dev-sysfs.c | 2 ++ drivers/usb/wusbcore/devconnect.c | 2 ++ drivers/usb/wusbcore/mmc.c | 2 ++ drivers/usb/wusbcore/pal.c | 2 ++ drivers/usb/wusbcore/reservation.c | 2 ++ drivers/usb/wusbcore/rh.c | 2 ++ drivers/usb/wusbcore/security.c | 2 ++
Quoted 8 lines
drivers/usb/wusbcore/wa-hc.c | 2 ++ drivers/usb/wusbcore/wa-hc.h | 2 ++ drivers/usb/wusbcore/wa-nep.c | 2 ++ drivers/usb/wusbcore/wa-rpipe.c | 2 ++ drivers/usb/wusbcore/wa-xfer.c | 2 ++ drivers/usb/wusbcore/wusbhc.c | 2 ++ drivers/usb/wusbcore/wusbhc.h | 2 ++ 685 files changed, 1325 insertions(+), 6 deletions(-)
ouch :-)
For the stuff which concerns me:
Signature · 1 line
balbi
Quoted 19 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. This patch adds these identifiers to all files in
drivers/usb/based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.drivers/usb/Makefile +0
-0
drivers/usb/Makefile line 4
Quoted 4 lines
drivers/usb/Makefile +1
-0@@ -1,6 +1,7 @@ # # Makefile for the kernel USB device drivers. # +# SPDX-License-Identifier: GPL-2.0
The last discussion about this was to add the identifier as the first line of the file or as the second in case of files with a shebang in the first one.
I think you missed the last version of the script. Attached.
Thanks,
tglx
#!/usr/bin/env python
#
import sys
import os
def insert_at(srclines, pos, tag, style):
srclines.insert(pos, '%s SPDX-License-Identifier: %s\n' %(style, tag)) return True
def handle_c_h(srclines, tag):
return insert_at(srclines, 0, tag, '//')
def handle_asm(srclines, tag):
# Stupid search for a proper style to comment the SPDX tag
pos = 0
style = None
for line in srclines:
pos += 1
if line.startswith(';;;'):
style = ';;;'
elif line.startswith(';;'):
style = ';;'
elif line.startswith(';'):
style = ';'
elif line.startswith('|'):
style = '|'
elif line.startswith('!'):
style = '!'
elif line.startswith('//'):
style = '//'
elif line.startswith("/*"):
style = '//'
else:
continue
return insert_at(srclines, 0, tag, style)
return Falsedef handle_sh(srclines, tag):
return insert_at(srclines, 1, tag, '#')
tf = open(sys.argv[1])
for entry in tf.readlines():
if len(entry.strip()) == 0:
continue
nr, fname, tag = entry.strip().split(',')
# FIXME: Use a proper encoder
fname = fname.replace('%2C',',')
if tag == 'NOTAG':
print("Skipping %s" %fname)
continue
if not os.path.isfile(fname):
print("FAIL: File %s does not exist anymore" %fname) continue
srclines = open(fname).readlines()
done = False
for line in srclines:
if line.find('SPDX-License-Identifier') >= 0:
done = True
break
if done:
print("SPDX id exists already in %s" %fname) continue
ok = False
if fname.endswith('.c') or fname.endswith('.h') or fname.endswith('.uc'):
ok = handle_c_h(srclines, tag)
elif fname.endswith('.S'):
ok = handle_asm(srclines, tag)
elif fname.endswith('.cocci'):
ok = insert_at(srclines, 0, tag, '//')
elif fname.endswith('.dts') or fname.endswith('.dtsi'):
ok = insert_at(srclines, 0, tag, '//')
elif fname.endswith('.py') or fname.endswith('.tc') or fname.endswith('.sh'):
ok = insert_at(srclines, 1, tag, '#')
elif fname.endswith('Makefile') or fname.find('Kconfig') > 0 or fname.find('Kbuild') > 0:
ok = insert_at(srclines, 0, tag, '#')
else:
print("Unhandled or ignored file %s" %fname) continue
if ok:
open(fname, 'w').writelines(srclines) print("Inserted %s into %s" %(tag, fname))
else:
print("FAIL: No place for insertion found %s" %fname)
Greg Kroah-Hartman
maintainerQuoted 30 lines · Thomas Gleixner
Quoted 19 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. This patch adds these identifiers to all files in
drivers/usb/based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.drivers/usb/Makefile +0
-0drivers/usb/Makefile line 4
Quoted 4 lines
drivers/usb/Makefile +1
-0@@ -1,6 +1,7 @@ # # Makefile for the kernel USB device drivers. # +# SPDX-License-Identifier: GPL-2.0The last discussion about this was to add the identifier as the first line of the file or as the second in case of files with a shebang in the first one.
Quoted 1 line
I think you missed the last version of the script. Attached.
Oh, I did, thanks, let me run this again...
Greg Kroah-Hartman
maintainerQuoted 30 lines · Thomas Gleixner
Quoted 19 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. This patch adds these identifiers to all files in
drivers/usb/based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.drivers/usb/Makefile +0
-0drivers/usb/Makefile line 4
Quoted 4 lines
drivers/usb/Makefile +1
-0@@ -1,6 +1,7 @@ # # Makefile for the kernel USB device drivers. # +# SPDX-License-Identifier: GPL-2.0The last discussion about this was to add the identifier as the first line of the file or as the second in case of files with a shebang in the first one.
Quoted 1 line
I think you missed the last version of the script. Attached.
Ugh, that's ugly, creating stuff like this:
drivers/usb/atm/speedtch.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /****************************************************************************** * speedtch.c - Alcatel SpeedTouch USB xDSL modem driver *
drivers/usb/atm/ueagle-atm.c +0 -0
Are we really ok with the '//' comments?
thanks,
greg k-h
Quoted 19 lines · Greg Kroah-Hartman
Quoted 5 lines · Thomas Gleixner
The last discussion about this was to add the identifier as the first line of the file or as the second in case of files with a shebang in the first one.
I think you missed the last version of the script. Attached.
Ugh, that's ugly, creating stuff like this:
drivers/usb/atm/speedtch.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /****************************************************************************** * speedtch.c - Alcatel SpeedTouch USB xDSL modem driver * drivers/usb/atm/ueagle-atm.c +0
-0
Quoted 1 line
Are we really ok with the '//' comments?
That's what Linus suggested so it stands out.
Thanks,
tglx
Greg Kroah-Hartman
maintainerQuoted 20 lines · Thomas Gleixner
Quoted 19 lines · Greg Kroah-Hartman
Quoted 5 lines · Thomas Gleixner
The last discussion about this was to add the identifier as the first line of the file or as the second in case of files with a shebang in the first one.
I think you missed the last version of the script. Attached.
Ugh, that's ugly, creating stuff like this:
drivers/usb/atm/speedtch.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /****************************************************************************** * speedtch.c - Alcatel SpeedTouch USB xDSL modem driver * drivers/usb/atm/ueagle-atm.c +0
-0
Quoted 3 lines
Quoted 1 line
Are we really ok with the '//' comments?
That's what Linus suggested so it stands out.
Oh, it stands out alright :(
But all that matters is the tag is there for tools to be able to extract it properly. And if we have that, it doesn't matter what the comment "style" would be, so might as well make it look "nicer".
And, to take it to the next conclusion, if we have the SPDX identifier, we can get rid of the "boilerplate" GPL license crap as well, right?
How about this example patch of just 2 files, we could drop so many lines that we are all tired of reading over and over...
thanks,
greg k-h
--- drivers/usb/core/hcd-pci.c | 15 ++------------- drivers/usb/core/hub.h | 12 ++---------- 2 files changed, 4 insertions(+), 23 deletions(-)
drivers/usb/core/hcd-pci.c +2 -13
@@ -1,19 +1,8 @@/* -* (C) Copyright David Brownell 2000-2002 -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; either version 2 of the License, or (at your -* option) any later version. +* SPDX-License-Identifier: GPL-2.0+ * -* This program is distributed in the hope that it will be useful, but -* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -* for more details. +* (C) Copyright David Brownell 2000-2002 * -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software Foundation, -* Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <linux/kernel.h>
drivers/usb/core/hub.h +2 -10
@@ -1,4 +1,6 @@/* +* SPDX-License-Identifier: GPL-2.0 +* * usb hub driver head file * * Copyright (C) 1999 Linus Torvalds
@@ -7,16 +9,6 @@* Copyright (C) 2001 Brad Hards ([email protected]) * Copyright (C) 2012 Intel Corp ([email protected]) * -* move struct usb_hub to this file. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, but -* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -* for more details. */ #include <linux/usb.h>
Quoted 5 lines · Greg Kroah-Hartman
And, to take it to the next conclusion, if we have the SPDX identifier, we can get rid of the "boilerplate" GPL license crap as well, right?
How about this example patch of just 2 files, we could drop so many lines that we are all tired of reading over and over...
Greg:
Exactly! And the tool [0] I used to detect the licenses can also collect the exact matched text: so based on this we could craft a script to do the grunt work of deleting the boilerplate and be reasonably smart about it:
- focus on GPL first, ignoring BSD/MIT for now
- only take out unambiguous boilerplate that is matched exactly
- and only take it out if there a proper and corresponding license identifier already there, or add one otherwise
[0] https://github.com/nexB/scancode-toolkit
Signature · 2 lines
Cordially Philippe Ombredanne
Quoted 6 lines
But all that matters is the tag is there for tools to be able to extract it properly. And if we have that, it doesn't matter what the comment "style" would be, so might as well make it look "nicer".
And, to take it to the next conclusion, if we have the SPDX identifier, we can get rid of the "boilerplate" GPL license crap as well, right?
An SPDX tag may not form a valid warranty disclaimer in many parts of the world while the header with correct document text in capitals does.
So yes you can remove it, but since it used to have a disclaimer and you (aka Linux Foundation) potentially removed it you might want to have a little chat with their laywers about whether you risk assuming any liability as a result 8)
I also don't think it would be appropriate to remove warranty disclaimers from third party material without the owners permission (or some surety from lawyers).
Alan
Greg Kroah-Hartman
maintainerQuoted 9 lines · Alan Cox
Quoted 6 lines
But all that matters is the tag is there for tools to be able to extract it properly. And if we have that, it doesn't matter what the comment "style" would be, so might as well make it look "nicer".
And, to take it to the next conclusion, if we have the SPDX identifier, we can get rid of the "boilerplate" GPL license crap as well, right?
An SPDX tag may not form a valid warranty disclaimer in many parts of the world while the header with correct document text in capitals does.
But the warranty disclaimer is in the license for the project as a whole, just not on the individual file, so it is still covered from what I can tell.
Quoted 4 lines
So yes you can remove it, but since it used to have a disclaimer and you (aka Linux Foundation) potentially removed it you might want to have a little chat with their laywers about whether you risk assuming any liability as a result 8)
Ok, will do :)
thanks,
greg k-h
Quoted 5 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. This patch adds these identifiers to all files in
drivers/usb/based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
Quoted 7 lines
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.
Glad to see this. I've been suggesting folks use SPDX tags on dts files as those are often dual licensed, so we have lots of license boilerplate. But I've had some push back[1] but it's not something I care to spend cycles on. It would be good to have some statement on the use of tags. Anything new should use them (I can dust off my checkpatch.pl check for this)? This is a good task for newbies? It's each maintainer's decision? It's the copyright holder's (and their lawyer's) decision?
Rob
Greg Kroah-Hartman
maintainerQuoted 15 lines · Rob Herring
Quoted 5 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. This patch adds these identifiers to all files in
drivers/usb/based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.Quoted 7 lines
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.
Quoted 8 lines
Glad to see this. I've been suggesting folks use SPDX tags on dts files as those are often dual licensed, so we have lots of license boilerplate. But I've had some push back[1] but it's not something I care to spend cycles on. It would be good to have some statement on the use of tags. Anything new should use them (I can dust off my checkpatch.pl check for this)? This is a good task for newbies? It's each maintainer's decision? It's the copyright holder's (and their lawyer's) decision?
As for what type of a task this is, we have a script and a huge database that has been worked on by some people to make a lot of this pretty "automatic" to apply.
For the "odd" issues that Russell is worried about, those we can take as a case-by-case basis after we get through all of the obvious ones first.
Thomas and I are going to talk about this next week in Prague to see if we can come up with a plan...
thanks,
greg k-h
Rob:
Quoted 25 lines · Greg Kroah-Hartman
Quoted 15 lines · Rob Herring
Quoted 5 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. This patch adds these identifiers to all files in
drivers/usb/based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.Quoted 7 lines
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.Quoted 8 lines
Glad to see this. I've been suggesting folks use SPDX tags on dts files as those are often dual licensed, so we have lots of license boilerplate. But I've had some push back[1] but it's not something I care to spend cycles on. It would be good to have some statement on the use of tags. Anything new should use them (I can dust off my checkpatch.pl check for this)? This is a good task for newbies? It's each maintainer's decision? It's the copyright holder's (and their lawyer's) decision?
Quoted 3 lines
As for what type of a task this is, we have a script and a huge database that has been worked on by some people to make a lot of this pretty "automatic" to apply.
I am one of the people that worked on scanning kernels for licenses using my scancode tool [1] to help there.
Regarding checkpatch.pl and tooling to help review patches I can think of two things:
1. when there is SPDX identifier in a patch, it could be checked for validity I have a library for this [2] (this is in Python not Perl) but the checks needed should be fairly trivial since there is not an open number of license variations in the kernel: this could be re-written in Perl alright.
2. scancode can detect the licenses fairly accurately to spit and suggest an SPDX license identifier and/or provide input to remove boilerplate either for new patches or existing code. Not sure how to best integrate this as a patch check step. Docs? Server-side tool? Any idea?
What would be the best thing to do next?
[1] https://github.com/nexB/scancode-toolkit
[2] https://github.com/nexB/license-expression/
Signature · 2 lines
Cordially Philippe Ombredanne
Greg Kroah-Hartman
maintainerPATCH v2 1/1 USB: add SPDX identifiers to all remaining files in drivers/usb/
In reply to Greg Kroah-HartmanIt's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses.
Update the drivers/usb/ and include/linux/usb* files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text.
This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
---
v2: Use the "standard" format of putting the identifier at the top of
the file, and use // for .c and .h files.
Removed the files already marked in Linus's tree.
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.
drivers/usb/atm/cxacru.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /****************************************************************************** * cxacru.c - driver for USB ADSL modems based on * Conexant AccessRunner chipset
drivers/usb/atm/speedtch.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /****************************************************************************** * speedtch.c - Alcatel SpeedTouch USB xDSL modem driver *
drivers/usb/atm/ueagle-atm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /*- * Copyright (c) 2003, 2004 * Damien Bergamini <[email protected]>. All rights reserved.
drivers/usb/atm/usbatm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /****************************************************************************** * usbatm.c - Generic USB xDSL driver core *
drivers/usb/atm/usbatm.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /****************************************************************************** * usbatm.h - Generic USB xDSL driver core *
drivers/usb/atm/xusbatm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /****************************************************************************** * xusbatm.c - dumb usbatm-based driver for modems initialized in userspace *
drivers/usb/c67x00/c67x00-drv.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * c67x00-drv.c: Cypress C67X00 USB Common infrastructure *
drivers/usb/c67x00/c67x00-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * c67x00-hcd.c: Cypress C67X00 USB Host Controller Driver *
drivers/usb/c67x00/c67x00-hcd.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * c67x00-hcd.h: Cypress C67X00 USB HCD *
drivers/usb/c67x00/c67x00-ll-hpi.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * c67x00-ll-hpi.c: Cypress C67X00 USB Low level interface using HPI *
drivers/usb/c67x00/c67x00-sched.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * c67x00-sched.c: Cypress C67X00 USB Host Controller Driver - TD scheduling *
drivers/usb/c67x00/c67x00.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * c67x00.h: Cypress C67X00 USB register and field definitions *
drivers/usb/chipidea/bits.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * bits.h - register bits of the ChipIdea USB IP core *
drivers/usb/chipidea/ci.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ci.h - common structures, functions, and macros of the ChipIdea driver *
drivers/usb/chipidea/ci_hdrc_imx.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2012 Freescale Semiconductor, Inc. * Copyright (C) 2012 Marek Vasut <[email protected]>
drivers/usb/chipidea/ci_hdrc_imx.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2012 Freescale Semiconductor, Inc. *
drivers/usb/chipidea/ci_hdrc_msm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2010, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify
drivers/usb/chipidea/ci_hdrc_pci.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ci_hdrc_pci.c - MIPS USB IP core family device controller *
drivers/usb/chipidea/ci_hdrc_usb2.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2014 Marvell Technology Group Ltd. *
drivers/usb/chipidea/ci_hdrc_zevio.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2013 Daniel Tang <[email protected]> *
drivers/usb/chipidea/core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * core.c - ChipIdea USB IP core family device controller *
drivers/usb/chipidea/host.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * host.c - ChipIdea USB host controller driver *
drivers/usb/chipidea/otg.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * otg.c - ChipIdea USB IP core OTG driver *
drivers/usb/chipidea/otg.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2013-2014 Freescale Semiconductor, Inc. *
drivers/usb/chipidea/otg_fsm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * otg_fsm.c - ChipIdea USB IP core OTG FSM driver *
drivers/usb/chipidea/otg_fsm.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2014 Freescale Semiconductor, Inc. *
drivers/usb/chipidea/udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * udc.c - ChipIdea UDC driver *
drivers/usb/chipidea/udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * udc.h - ChipIdea UDC structures *
drivers/usb/chipidea/ulpi.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2016 Linaro Ltd. *
drivers/usb/chipidea/usbmisc_imx.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2012 Freescale Semiconductor, Inc. *
drivers/usb/class/cdc-acm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * cdc-acm.c *
drivers/usb/class/cdc-wdm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * cdc-wdm.c *
drivers/usb/class/usblp.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * usblp.c *
drivers/usb/class/usbtmc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /** * drivers/usb/class/usbtmc.c - USB Test & Measurement class driver *
drivers/usb/common/common.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Provides code common for host and device side USB. *
drivers/usb/common/led.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * LED Triggers for USB Activity *
drivers/usb/common/ulpi.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * ulpi.c - USB ULPI PHY bus *
drivers/usb/common/usb-otg-fsm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * OTG Finite State Machine from OTG spec *
drivers/usb/core/devices.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * devices.c * (C) Copyright 1999 Randy Dunlap.
drivers/usb/core/devio.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /*****************************************************************************/ /*
drivers/usb/core/hcd-pci.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright David Brownell 2000-2002 *
drivers/usb/core/hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright Linus Torvalds 1999 * (C) Copyright Johannes Erdfelt 1999-2001
drivers/usb/core/hub.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * usb hub driver head file *
drivers/usb/core/ledtrig-usbport.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB port LED trigger *
drivers/usb/core/of.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * of.c The helpers for hcd device tree support *
drivers/usb/core/otg_whitelist.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * drivers/usb/core/otg_whitelist.h *
drivers/usb/core/port.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * usb port device code *
drivers/usb/core/quirks.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB device quirk handling logic and table *
drivers/usb/core/usb-acpi.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB-ACPI glue code *
drivers/usb/dwc2/core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * core.c - DesignWare HS OTG Controller common routines *
drivers/usb/dwc2/core.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * core.h - DesignWare HS OTG Controller common declarations *
drivers/usb/dwc2/core_intr.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * core_intr.c - DesignWare HS OTG Controller common interrupt handling *
drivers/usb/dwc2/debug.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * debug.h - Designware USB2 DRD controller debug header *
drivers/usb/dwc2/debugfs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * debugfs.c - Designware USB2 DRD controller debugfs *
drivers/usb/dwc2/gadget.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * Copyright (c) 2011 Samsung Electronics Co., Ltd. * http://www.samsung.com
drivers/usb/dwc2/hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * hcd.c - DesignWare HS OTG Controller host-mode routines *
drivers/usb/dwc2/hcd.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * hcd.h - DesignWare HS OTG Controller host-mode declarations *
drivers/usb/dwc2/hcd_ddma.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * hcd_ddma.c - DesignWare HS OTG Controller descriptor DMA routines *
drivers/usb/dwc2/hcd_intr.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * hcd_intr.c - DesignWare HS OTG Controller host-mode interrupt handling *
drivers/usb/dwc2/hcd_queue.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * hcd_queue.c - DesignWare HS OTG Controller host queuing routines *
drivers/usb/dwc2/hw.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * hw.h - DesignWare HS OTG Controller hardware definitions *
drivers/usb/dwc2/params.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * Copyright (C) 2004-2016 Synopsys, Inc. *
drivers/usb/dwc2/pci.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * pci.c - DesignWare HS OTG Controller PCI driver *
drivers/usb/dwc2/platform.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * platform.c - DesignWare HS OTG Controller platform driver *
drivers/usb/dwc3/core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * core.c - DesignWare USB3 DRD Controller Core file *
drivers/usb/dwc3/core.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * core.h - DesignWare USB3 DRD Core Header *
drivers/usb/dwc3/debug.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * debug.h - DesignWare USB3 DRD Controller Debug Header *
drivers/usb/dwc3/debugfs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * debugfs.c - DesignWare USB3 DRD Controller DebugFS file *
drivers/usb/dwc3/drd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * drd.c - DesignWare USB3 DRD Controller Dual-role support *
drivers/usb/dwc3/dwc3-exynos.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * dwc3-exynos.c - Samsung EXYNOS DWC3 Specific Glue layer *
drivers/usb/dwc3/dwc3-keystone.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * dwc3-keystone.c - Keystone Specific Glue layer *
drivers/usb/dwc3/dwc3-of-simple.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * dwc3-of-simple.c - OF glue layer for simple integrations *
drivers/usb/dwc3/dwc3-omap.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * dwc3-omap.c - OMAP Specific Glue layer *
drivers/usb/dwc3/dwc3-pci.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * dwc3-pci.c - PCI Specific glue layer *
drivers/usb/dwc3/dwc3-st.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /** * dwc3-st.c Support for dwc3 platform devices on ST Microelectronics platforms *
drivers/usb/dwc3/ep0.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ep0.c - DesignWare USB3 DRD Controller Endpoint 0 Handling *
drivers/usb/dwc3/gadget.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * gadget.c - DesignWare USB3 DRD Controller Gadget Framework Link *
drivers/usb/dwc3/gadget.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * gadget.h - DesignWare USB3 DRD Gadget Header *
drivers/usb/dwc3/host.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * host.c - DesignWare USB3 DRD Controller Host Glue *
drivers/usb/dwc3/io.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * io.h - DesignWare USB3 DRD IO Header *
drivers/usb/dwc3/trace.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * trace.c - DesignWare USB3 DRD Controller Trace Support *
drivers/usb/dwc3/trace.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * trace.h - DesignWare USB3 DRD Controller Trace Support *
drivers/usb/dwc3/ulpi.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * ulpi.c - DesignWare USB3 Controller's ULPI PHY interface *
drivers/usb/early/ehci-dbgp.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Standalone EHCI usb debug driver *
drivers/usb/early/xhci-dbc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * xhci-dbc.c - xHCI debug capability early driver *
drivers/usb/early/xhci-dbc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * xhci-dbc.h - xHCI debug capability early driver *
drivers/usb/gadget/composite.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * composite.c - infrastructure for Composite USB Gadgets *
drivers/usb/gadget/config.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * usb/gadget/config.c -- simplify building config descriptors *
drivers/usb/gadget/configfs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/configfs.h> #include <linux/module.h> #include <linux/slab.h>
drivers/usb/gadget/epautoconf.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * epautoconf.c -- endpoint autoconfiguration for usb gadget drivers *
drivers/usb/gadget/function/f_acm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_acm.c -- USB CDC serial (ACM) function driver *
drivers/usb/gadget/function/f_ecm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_ecm.c -- USB CDC Ethernet (ECM) link function driver *
drivers/usb/gadget/function/f_eem.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_eem.c -- USB CDC Ethernet (EEM) link function driver *
drivers/usb/gadget/function/f_fs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_fs.c -- user mode file system API for USB composite function controllers *
drivers/usb/gadget/function/f_hid.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_hid.c -- USB HID function driver *
drivers/usb/gadget/function/f_loopback.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_loopback.c - USB peripheral loopback configuration driver *
drivers/usb/gadget/function/f_mass_storage.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * f_mass_storage.c -- Mass Storage USB Composite Function *
drivers/usb/gadget/function/f_midi.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_midi.c -- USB MIDI class function driver *
drivers/usb/gadget/function/f_ncm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_ncm.c -- USB CDC Network (NCM) link function driver *
drivers/usb/gadget/function/f_obex.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_obex.c -- USB CDC OBEX function driver *
drivers/usb/gadget/function/f_phonet.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * f_phonet.c -- USB CDC Phonet function *
drivers/usb/gadget/function/f_printer.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_printer.c - USB printer function driver *
drivers/usb/gadget/function/f_rndis.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_rndis.c -- RNDIS link function driver *
drivers/usb/gadget/function/f_serial.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_serial.c - generic USB serial function driver *
drivers/usb/gadget/function/f_sourcesink.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_sourcesink.c - USB peripheral source/sink configuration driver *
drivers/usb/gadget/function/f_subset.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_subset.c -- "CDC Subset" Ethernet link function driver *
drivers/usb/gadget/function/f_tcm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* Target based USB-Gadget * * UAS protocol handling, target callbacks, configfs handling,
drivers/usb/gadget/function/f_uac1.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_uac1.c -- USB Audio Class 1.0 Function (using u_audio API) *
drivers/usb/gadget/function/f_uac1_legacy.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_audio.c -- USB Audio class function driver *
drivers/usb/gadget/function/f_uac2.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_uac2.c -- USB Audio Class 2.0 Function *
drivers/usb/gadget/function/f_uvc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * uvc_gadget.c -- USB Video Class Gadget driver *
drivers/usb/gadget/function/f_uvc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * f_uvc.h -- USB Video Class Gadget driver *
drivers/usb/gadget/function/rndis.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * RNDIS MSG parser *
drivers/usb/gadget/function/rndis.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * RNDIS Definitions for Remote NDIS *
drivers/usb/gadget/function/storage_common.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * storage_common.c -- Common definitions for mass storage functionality *
drivers/usb/gadget/function/u_audio.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * u_audio.c -- interface to USB gadget "ALSA sound card" utilities *
drivers/usb/gadget/function/u_audio.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * u_audio.h -- interface to USB gadget "ALSA sound card" utilities *
drivers/usb/gadget/function/u_ecm.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_ecm.h *
drivers/usb/gadget/function/u_eem.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_eem.h *
drivers/usb/gadget/function/u_ether.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * u_ether.c -- Ethernet-over-USB link layer utilities for Gadget stack *
drivers/usb/gadget/function/u_ether.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * u_ether.h -- interface to USB gadget "ethernet link" utilities *
drivers/usb/gadget/function/u_ether_configfs.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_ether_configfs.h *
drivers/usb/gadget/function/u_fs.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_fs.h *
drivers/usb/gadget/function/u_gether.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_gether.h *
drivers/usb/gadget/function/u_hid.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_hid.h *
drivers/usb/gadget/function/u_midi.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_midi.h *
drivers/usb/gadget/function/u_ncm.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_ncm.h *
drivers/usb/gadget/function/u_phonet.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * u_phonet.h - interface to Phonet *
drivers/usb/gadget/function/u_printer.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_printer.h *
drivers/usb/gadget/function/u_rndis.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_rndis.h *
drivers/usb/gadget/function/u_serial.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * u_serial.c - utilities for USB gadget "serial port"/TTY support *
drivers/usb/gadget/function/u_serial.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * u_serial.h - interface to USB gadget "serial port"/TTY utilities *
drivers/usb/gadget/function/u_tcm.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_tcm.h *
drivers/usb/gadget/function/u_uac1.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_uac1.h - Utility definitions for UAC1 function *
drivers/usb/gadget/function/u_uac1_legacy.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * u_uac1.c -- ALSA audio utilities for Gadget stack *
drivers/usb/gadget/function/u_uac1_legacy.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * u_uac1.h -- interface to USB gadget "ALSA AUDIO" utilities *
drivers/usb/gadget/function/u_uac2.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_uac2.h *
drivers/usb/gadget/function/u_uvc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_uvc.h *
drivers/usb/gadget/function/uvc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * uvc_gadget.h -- USB Video Class Gadget driver *
drivers/usb/gadget/function/uvc_configfs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * uvc_configfs.c *
drivers/usb/gadget/function/uvc_configfs.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * uvc_configfs.h *
drivers/usb/gadget/function/uvc_queue.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * uvc_queue.c -- USB Video Class driver - Buffers management *
drivers/usb/gadget/function/uvc_v4l2.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * uvc_v4l2.c -- USB Video Class Gadget driver *
drivers/usb/gadget/function/uvc_v4l2.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * uvc_v4l2.h -- USB Video Class Gadget driver *
drivers/usb/gadget/function/uvc_video.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * uvc_video.c -- USB Video Class Gadget driver *
drivers/usb/gadget/function/uvc_video.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * uvc_video.h -- USB Video Class Gadget driver *
drivers/usb/gadget/functions.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> #include <linux/slab.h> #include <linux/module.h>
drivers/usb/gadget/legacy/acm_ms.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * acm_ms.c -- Composite driver, with ACM and mass storage support *
drivers/usb/gadget/legacy/audio.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * audio.c -- Audio gadget driver *
drivers/usb/gadget/legacy/cdc2.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * cdc2.c -- CDC Composite driver, with ECM and ACM support *
drivers/usb/gadget/legacy/dbgp.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * dbgp.c -- EHCI Debug Port device gadget *
drivers/usb/gadget/legacy/ether.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * ether.c -- Ethernet gadget driver, with CDC and non-CDC options *
drivers/usb/gadget/legacy/g_ffs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * g_ffs.c -- user mode file system API for USB composite function controllers *
drivers/usb/gadget/legacy/gmidi.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * gmidi.c -- USB MIDI Gadget Driver *
drivers/usb/gadget/legacy/hid.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * hid.c -- HID Composite driver *
drivers/usb/gadget/legacy/inode.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * inode.c -- user mode filesystem api for usb gadget controllers *
drivers/usb/gadget/legacy/mass_storage.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * mass_storage.c -- Mass Storage USB Gadget *
drivers/usb/gadget/legacy/multi.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * multi.c -- Multifunction Composite driver *
drivers/usb/gadget/legacy/ncm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * ncm.c -- NCM gadget driver *
drivers/usb/gadget/legacy/nokia.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * nokia.c -- Nokia Composite Gadget Driver *
drivers/usb/gadget/legacy/printer.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * printer.c -- Printer gadget driver *
drivers/usb/gadget/legacy/serial.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * serial.c -- USB gadget serial driver *
drivers/usb/gadget/legacy/tcm_usb_gadget.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* Target based USB-Gadget * * UAS protocol handling, target callbacks, configfs handling,
drivers/usb/gadget/legacy/webcam.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * webcam.c -- USB webcam gadget driver *
drivers/usb/gadget/legacy/zero.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * zero.c -- Gadget Zero, for USB development *
drivers/usb/gadget/u_f.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_f.c -- USB function utilities for Gadget stack *
drivers/usb/gadget/u_f.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_f.h *
drivers/usb/gadget/u_os_desc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * u_os_desc.h *
drivers/usb/gadget/udc/amd5536udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * amd5536.h -- header for AMD 5536 UDC high/full speed USB device controller *
drivers/usb/gadget/udc/amd5536udc_pci.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * amd5536udc_pci.c -- AMD 5536 UDC high/full speed USB device controller *
drivers/usb/gadget/udc/at91_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * at91_udc -- driver for at91-series USB peripheral controller *
drivers/usb/gadget/udc/at91_udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2004 by Thomas Rathbone, HP Labs * Copyright (C) 2005 by Ivan Kokshaysky
drivers/usb/gadget/udc/atmel_usba_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for the Atmel USBA high speed USB device controller *
drivers/usb/gadget/udc/atmel_usba_udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for the Atmel USBA high speed USB device controller *
drivers/usb/gadget/udc/bcm63xx_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * bcm63xx_udc.c -- BCM63xx UDC high/full speed USB device controller *
drivers/usb/gadget/udc/bdc/bdc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * bdc.h - header for the BRCM BDC USB3.0 device controller *
drivers/usb/gadget/udc/bdc/bdc_cmd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * bdc_cmd.c - BRCM BDC USB3.0 device controller *
drivers/usb/gadget/udc/bdc/bdc_cmd.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * bdc_cmd.h - header for the BDC debug functions *
drivers/usb/gadget/udc/bdc/bdc_core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * bdc_core.c - BRCM BDC USB3.0 device controller core operations *
drivers/usb/gadget/udc/bdc/bdc_dbg.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * bdc_dbg.c - BRCM BDC USB3.0 device controller debug functions *
drivers/usb/gadget/udc/bdc/bdc_dbg.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * bdc_dbg.h - header for the BDC debug functions *
drivers/usb/gadget/udc/bdc/bdc_ep.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * bdc_ep.c - BRCM BDC USB3.0 device controller endpoint related functions *
drivers/usb/gadget/udc/bdc/bdc_ep.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * bdc_ep.h - header for the BDC debug functions *
drivers/usb/gadget/udc/bdc/bdc_pci.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * bdc_pci.c - BRCM BDC USB3.0 device controller PCI interface file. *
drivers/usb/gadget/udc/bdc/bdc_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * bdc_udc.c - BRCM BDC USB3.0 device controller gagdet ops *
drivers/usb/gadget/udc/core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * udc.c - Core UDC Framework *
drivers/usb/gadget/udc/dummy_hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * dummy_hcd.c -- Dummy/Loopback USB host and device emulator driver. *
drivers/usb/gadget/udc/fotg210-udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * FOTG210 UDC Driver supports Bulk transfer so far *
drivers/usb/gadget/udc/fotg210.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Faraday FOTG210 USB OTG controller *
drivers/usb/gadget/udc/fsl_mxc_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2009 * Guennadi Liakhovetski, DENX Software Engineering, <[email protected]>
drivers/usb/gadget/udc/fsl_qe_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * driver/usb/gadget/fsl_qe_udc.c *
drivers/usb/gadget/udc/fsl_qe_udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * drivers/usb/gadget/qe_udc.h *
drivers/usb/gadget/udc/fsl_udc_core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2004-2007,2011-2012 Freescale Semiconductor, Inc. * All rights reserved.
drivers/usb/gadget/udc/fsl_usb2_udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2004,2012 Freescale Semiconductor, Inc * All rights reserved.
drivers/usb/gadget/udc/fusb300_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Fusb300 UDC (USB gadget) *
drivers/usb/gadget/udc/fusb300_udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Fusb300 UDC (USB gadget) *
drivers/usb/gadget/udc/goku_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Toshiba TC86C001 ("Goku-S") USB Device Controller driver *
drivers/usb/gadget/udc/goku_udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Toshiba TC86C001 ("Goku-S") USB Device Controller driver *
drivers/usb/gadget/udc/gr_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB Peripheral Controller driver for Aeroflex Gaisler GRUSBDC. *
drivers/usb/gadget/udc/gr_udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB Peripheral Controller driver for Aeroflex Gaisler GRUSBDC. *
drivers/usb/gadget/udc/lpc32xx_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB Gadget driver for LPC32xx *
drivers/usb/gadget/udc/m66592-udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * M66592 UDC (USB gadget) *
drivers/usb/gadget/udc/m66592-udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * M66592 UDC (USB gadget) *
drivers/usb/gadget/udc/mv_u3d.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2011 Marvell International Ltd. All rights reserved. *
drivers/usb/gadget/udc/mv_u3d_core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2011 Marvell International Ltd. All rights reserved. *
drivers/usb/gadget/udc/mv_udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2011 Marvell International Ltd. All rights reserved. *
drivers/usb/gadget/udc/mv_udc_core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2011 Marvell International Ltd. All rights reserved. * Author: Chao Xie <[email protected]>
drivers/usb/gadget/udc/net2272.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for PLX NET2272 USB device controller *
drivers/usb/gadget/udc/net2272.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * PLX NET2272 high/full speed USB device controller *
drivers/usb/gadget/udc/net2280.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for the PLX NET2280 USB device controller. * Specs and errata are available from <http://www.plxtech.com>.
drivers/usb/gadget/udc/net2280.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * NetChip 2280 high/full speed USB device controller. * Unlike many such controllers, this one talks PCI.
drivers/usb/gadget/udc/omap_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * omap_udc.c -- for OMAP full speed udc; most chips support OTG. *
drivers/usb/gadget/udc/pch_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2011 LAPIS Semiconductor Co., Ltd. *
drivers/usb/gadget/udc/pxa25x_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Intel PXA25x and IXP4xx on-chip full speed USB device controllers *
drivers/usb/gadget/udc/pxa25x_udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Intel PXA25x on-chip full speed USB device controller *
drivers/usb/gadget/udc/pxa27x_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Handles the Intel 27x USB Device Controller (UDC) *
drivers/usb/gadget/udc/pxa27x_udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * linux/drivers/usb/gadget/pxa27x_udc.h * Intel PXA27x on-chip full speed USB device controller
drivers/usb/gadget/udc/r8a66597-udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * R8A66597 UDC (USB gadget) *
drivers/usb/gadget/udc/r8a66597-udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * R8A66597 UDC *
drivers/usb/gadget/udc/renesas_usb3.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas USB3.0 Peripheral driver (USB gadget) *
drivers/usb/gadget/udc/s3c-hsudc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* linux/drivers/usb/gadget/s3c-hsudc.c * * Copyright (c) 2010 Samsung Electronics Co., Ltd.
drivers/usb/gadget/udc/s3c2410_udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * linux/drivers/usb/gadget/s3c2410_udc.c *
drivers/usb/gadget/udc/s3c2410_udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * linux/drivers/usb/gadget/s3c2410_udc.h * Samsung on-chip full speed USB device controllers
drivers/usb/gadget/udc/snps_udc_core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * amd5536.c -- AMD 5536 UDC high/full speed USB device controller *
drivers/usb/gadget/udc/snps_udc_plat.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * snps_udc_plat.c - Synopsys UDC Platform Driver *
drivers/usb/gadget/udc/trace.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * trace.c - USB Gadget Framework Trace Support *
drivers/usb/gadget/udc/trace.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * udc.c - Core UDC Framework *
drivers/usb/gadget/udc/udc-xilinx.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Xilinx USB peripheral controller driver *
drivers/usb/gadget/usbstring.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-2.1+ /* * Copyright (C) 2003 David Brownell *
drivers/usb/host/bcma-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Broadcom specific Advanced Microcontroller Bus * Broadcom USB-core driver (BCMA bus glue)
drivers/usb/host/ehci-atmel.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for EHCI UHP on Atmel chips *
drivers/usb/host/ehci-dbg.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2001-2002 by David Brownell *
drivers/usb/host/ehci-exynos.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * SAMSUNG EXYNOS USB HOST EHCI Controller *
drivers/usb/host/ehci-fsl.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2005-2009 MontaVista Software, Inc. * Copyright 2008,2012,2015 Freescale Semiconductor, Inc.
drivers/usb/host/ehci-fsl.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* Copyright (C) 2005-2010,2012 Freescale Semiconductor, Inc. * Copyright (c) 2005 MontaVista Software *
drivers/usb/host/ehci-grlib.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for Aeroflex Gaisler GRLIB GRUSBHC EHCI host controller *
drivers/usb/host/ehci-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Enhanced Host Controller Interface (EHCI) driver for USB. *
drivers/usb/host/ehci-hub.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2001-2004 by David Brownell *
drivers/usb/host/ehci-mem.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2001 by David Brownell *
drivers/usb/host/ehci-mv.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2011 Marvell International Ltd. All rights reserved. * Author: Chao Xie <[email protected]>
drivers/usb/host/ehci-mxc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2008 Sascha Hauer <[email protected]>, Pengutronix * Copyright (c) 2009 Daniel Mack <[email protected]>
drivers/usb/host/ehci-omap.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * ehci-omap.c - driver for USBHOST on OMAP3/4 processors *
drivers/usb/host/ehci-orion.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * drivers/usb/host/ehci-orion.c *
drivers/usb/host/ehci-pci.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * EHCI HCD (Host Controller Driver) PCI Bus Glue. *
drivers/usb/host/ehci-platform.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Generic platform ehci driver *
drivers/usb/host/ehci-pmcmsp.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * PMC MSP EHCI (Host Controller Driver) for USB. *
drivers/usb/host/ehci-ppc-of.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * EHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ehci-ps3.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * PS3 EHCI Host Controller driver *
drivers/usb/host/ehci-q.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2001-2004 by David Brownell *
drivers/usb/host/ehci-sched.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2001-2004 by David Brownell * Copyright (c) 2003 Michal Sojka, for high-speed iso transfers
drivers/usb/host/ehci-sh.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * SuperH EHCI host controller driver *
drivers/usb/host/ehci-spear.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for EHCI HCD on SPEAr SOC *
drivers/usb/host/ehci-st.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ST EHCI driver *
drivers/usb/host/ehci-sysfs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2007 by Alan Stern *
drivers/usb/host/ehci-tegra.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * EHCI-compliant USB host controller driver for NVIDIA Tegra SoCs *
drivers/usb/host/ehci-tilegx.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright 2012 Tilera Corporation. All Rights Reserved. *
drivers/usb/host/ehci-timer.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2012 by Alan Stern *
drivers/usb/host/ehci-w90x900.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * linux/driver/usb/host/ehci-w90x900.c *
drivers/usb/host/ehci-xilinx-of.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * EHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ehci.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2001-2002 by David Brownell *
drivers/usb/host/fhci-dbg.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Freescale QUICC Engine USB Host Controller Driver *
drivers/usb/host/fhci-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Freescale QUICC Engine USB Host Controller Driver *
drivers/usb/host/fhci-hub.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Freescale QUICC Engine USB Host Controller Driver *
drivers/usb/host/fhci-mem.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Freescale QUICC Engine USB Host Controller Driver *
drivers/usb/host/fhci-q.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Freescale QUICC Engine USB Host Controller Driver *
drivers/usb/host/fhci-sched.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Freescale QUICC Engine USB Host Controller Driver *
drivers/usb/host/fhci-tds.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Freescale QUICC Engine USB Host Controller Driver *
drivers/usb/host/fhci.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Freescale QUICC Engine USB Host Controller Driver *
drivers/usb/host/fotg210-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* Faraday FOTG210 EHCI-like driver * * Copyright (c) 2013 Faraday Technology Corporation
drivers/usb/host/fsl-mph-dr-of.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Setup platform devices needed by the Freescale multi-port host * and/or dual-role USB controller modules based on the description
drivers/usb/host/hwa-hc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Host Wire Adapter: * Driver glue, HWA-specific functions, bridges to WAHC and WUSBHC
drivers/usb/host/imx21-dbg.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2009 by Martin Fuzzey *
drivers/usb/host/imx21-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB Host Controller Driver for IMX21 *
drivers/usb/host/imx21-hcd.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Macros and prototypes for i.MX21 *
drivers/usb/host/isp116x-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ISP116x HCD (Host Controller Driver) for USB. *
drivers/usb/host/isp1362-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ISP1362 HCD (Host Controller Driver) for USB. *
drivers/usb/host/max3421-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MAX3421 Host Controller driver for USB. *
drivers/usb/host/ohci-at91.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ohci-da8xx.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ohci-dbg.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ohci-exynos.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * SAMSUNG EXYNOS USB HOST OHCI Controller *
drivers/usb/host/ohci-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * Open Host Controller Interface (OHCI) driver for USB. *
drivers/usb/host/ohci-hub.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ohci-mem.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ohci-nxp.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * driver for NXP USB Host devices *
drivers/usb/host/ohci-omap.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ohci-pci.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ohci-platform.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Generic platform ohci driver *
drivers/usb/host/ohci-ppc-of.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ohci-ps3.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * PS3 OHCI Host Controller driver *
drivers/usb/host/ohci-pxa27x.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ohci-q.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ohci-s3c2410.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ohci-sa1111.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ohci-sm501.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ohci-spear.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/ohci-st.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ST OHCI driver *
drivers/usb/host/ohci-tilegx.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright 2012 Tilera Corporation. All Rights Reserved. *
drivers/usb/host/ohci-tmio.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * OHCI HCD(Host Controller Driver) for USB. *
drivers/usb/host/ohci.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * OHCI HCD (Host Controller Driver) for USB. *
drivers/usb/host/oxu210hp-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2008 Rodolfo Giometti <[email protected]> * Copyright (c) 2008 Eurotech S.p.A. <[email protected]>
drivers/usb/host/pci-quirks.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * This file contains code to reset and initialize USB host controllers. * Some of it includes work-arounds for PCI hardware and BIOS quirks.
drivers/usb/host/r8a66597-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * R8A66597 HCD (Host Controller Driver) *
drivers/usb/host/r8a66597.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * R8A66597 HCD (Host Controller Driver) *
drivers/usb/host/sl811-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * SL811HS HCD (Host Controller Driver) for USB. *
drivers/usb/host/sl811_cs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * PCMCIA driver for SL811HS (as found in REX-CFU1U) * Filename: sl811_cs.c
drivers/usb/host/ssb-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Sonics Silicon Backplane * Broadcom USB-core driver (SSB bus glue)
drivers/usb/host/u132-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Host Controller Driver for the Elan Digital Systems U132 adapter *
drivers/usb/host/uhci-hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Universal Host Controller Interface driver for USB. *
drivers/usb/host/whci/asl.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless Host Controller (WHC) asynchronous schedule management. *
drivers/usb/host/whci/debug.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless Host Controller (WHC) debug. *
drivers/usb/host/whci/hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless Host Controller (WHC) driver. *
drivers/usb/host/whci/hw.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless Host Controller (WHC) hardware access helpers. *
drivers/usb/host/whci/init.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless Host Controller (WHC) initialization. *
drivers/usb/host/whci/int.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless Host Controller (WHC) interrupt handling. *
drivers/usb/host/whci/pzl.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless Host Controller (WHC) periodic schedule management. *
drivers/usb/host/whci/qset.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless Host Controller (WHC) qset management. *
drivers/usb/host/whci/whcd.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless Host Controller (WHC) private header. *
drivers/usb/host/whci/whci-hc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless Host Controller (WHC) data structures. *
drivers/usb/host/whci/wusb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless Host Controller (WHC) WUSB operations. *
drivers/usb/host/xhci-dbg.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * xHCI host controller driver *
drivers/usb/host/xhci-ext-caps.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * xHCI host controller driver *
drivers/usb/host/xhci-hub.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * xHCI host controller driver *
drivers/usb/host/xhci-mem.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * xHCI host controller driver *
drivers/usb/host/xhci-mtk-sch.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2015 MediaTek Inc. * Author:
drivers/usb/host/xhci-mtk.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MediaTek xHCI Host Controller Driver *
drivers/usb/host/xhci-mtk.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2015 MediaTek Inc. * Author:
drivers/usb/host/xhci-mvebu.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2014 Marvell * Author: Gregory CLEMENT <[email protected]>
drivers/usb/host/xhci-mvebu.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2014 Marvell *
drivers/usb/host/xhci-pci.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * xHCI host controller driver PCI Bus Glue. *
drivers/usb/host/xhci-plat.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * xhci-plat.c - xHCI host controller driver platform Bus Glue. *
drivers/usb/host/xhci-plat.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * xhci-plat.h - xHCI host controller driver platform Bus Glue. *
drivers/usb/host/xhci-rcar.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * xHCI host controller driver for R-Car SoCs *
drivers/usb/host/xhci-rcar.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * drivers/usb/host/xhci-rcar.h *
drivers/usb/host/xhci-ring.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * xHCI host controller driver *
drivers/usb/host/xhci-tegra.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * NVIDIA Tegra xHCI host controller driver *
drivers/usb/host/xhci-trace.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * xHCI host controller driver *
drivers/usb/host/xhci-trace.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * xHCI host controller driver *
drivers/usb/host/xhci.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * xHCI host controller driver *
drivers/usb/host/xhci.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * xHCI host controller driver
drivers/usb/image/mdc800.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * copyright (C) 1999/2000 by Henning Zabel <[email protected]> *
drivers/usb/image/microtek.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* Driver for Microtek Scanmaker X6 USB scanner, and possibly others. * * (C) Copyright 2000 John Fremlin <[email protected]>
drivers/usb/isp1760/isp1760-core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for the NXP ISP1760 chip *
drivers/usb/isp1760/isp1760-core.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for the NXP ISP1760 chip *
drivers/usb/isp1760/isp1760-regs.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for the NXP ISP1760 chip *
drivers/usb/isp1760/isp1760-udc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for the NXP ISP1761 device controller *
drivers/usb/isp1760/isp1760-udc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for the NXP ISP1761 device controller *
drivers/usb/misc/adutux.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * adutux - driver for ADU devices from Ontrak Control Systems * This is an experimental driver. Use at your own risk.
drivers/usb/misc/appledisplay.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Apple Cinema Display driver *
drivers/usb/misc/chaoskey.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * chaoskey - driver for ChaosKey device from Altus Metrum. *
drivers/usb/misc/cypress_cy7c63.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * cypress_cy7c63.c *
drivers/usb/misc/cytherm.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* -*- linux-c -*- * Cypress USB Thermometer driver *
drivers/usb/misc/ehset.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved. *
drivers/usb/misc/emi26.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Emagic EMI 2|6 usb audio interface firmware loader. * Copyright (C) 2002
drivers/usb/misc/emi62.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Emagic EMI 2|6 usb audio interface firmware loader. * Copyright (C) 2002
drivers/usb/misc/ezusb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * EZ-USB specific functions used by some of the USB to Serial drivers. *
drivers/usb/misc/ftdi-elan.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB FTDI client driver for Elan Digital Systems's Uxxx adapters *
drivers/usb/misc/idmouse.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* Siemens ID Mouse driver v0.6 This program is free software; you can redistribute it and/or
drivers/usb/misc/iowarrior.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Native support for the I/O-Warrior USB devices *
drivers/usb/misc/isight_firmware.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for loading USB isight firmware *
drivers/usb/misc/ldusb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /** * Generic USB driver for report based interrupt in/out devices * like LD Didactic's USB devices. LD Didactic's USB devices are
drivers/usb/misc/legousbtower.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * LEGO USB Tower driver *
drivers/usb/misc/lvstest.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * drivers/usb/misc/lvstest.c *
drivers/usb/misc/rio500.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* -*- linux-c -*- */ /*
drivers/usb/misc/rio500_usb.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* ---------------------------------------------------------------------- Copyright (C) 2000 Cesar Miquel ([email protected])
drivers/usb/misc/sisusbvga/sisusb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) /* * sisusb - usb kernel driver for SiS315(E) based USB2VGA dongles *
drivers/usb/misc/sisusbvga/sisusb.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) /* * sisusb - usb kernel driver for Net2280/SiS315 based USB2VGA dongles *
drivers/usb/misc/sisusbvga/sisusb_con.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) /* * sisusb - usb kernel driver for SiS315(E) based USB2VGA dongles *
drivers/usb/misc/sisusbvga/sisusb_init.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) /* * sisusb - usb kernel driver for SiS315(E) based USB2VGA dongles *
drivers/usb/misc/sisusbvga/sisusb_init.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* $XFree86$ */ /* $XdotOrg$ */ /*
drivers/usb/misc/sisusbvga/sisusb_struct.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) /* * General structure definitions for universal mode switching modules *
drivers/usb/misc/trancevibrator.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * PlayStation 2 Trance Vibrator driver *
drivers/usb/misc/usb251xb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for Microchip USB251xB USB 2.0 Hi-Speed Hub Controller * Configuration via SMBus.
drivers/usb/misc/usb3503.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for SMSC USB3503 USB 2.0 hub controller driver *
drivers/usb/misc/usb4604.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for SMSC USB4604 USB HSIC 4-port 2.0 hub controller driver * Based on usb3503 driver
drivers/usb/misc/usb_u132.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Common Header File for the Elan Digital Systems U132 adapter * this file should be included by both the "ftdi-u132" and
drivers/usb/misc/usblcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /***************************************************************************** * USBLCD Kernel Driver * * Version 1.05 *
drivers/usb/misc/usbsevseg.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB 7 Segment Driver *
drivers/usb/misc/usbtest.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> #include <linux/errno.h> #include <linux/init.h>
drivers/usb/misc/uss720.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /*****************************************************************************/ /*
drivers/usb/misc/yurex.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for Meywa-Denki & KAYAC YUREX *
drivers/usb/mon/mon_main.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * The USB Monitor, inspired by Dave Harding's USBMon. *
drivers/usb/mtu3/mtu3.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * mtu3.h - MediaTek USB3 DRD header *
drivers/usb/mtu3/mtu3_core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * mtu3_core.c - hardware access layer and gadget init/exit of * MediaTek usb3 Dual-Role Controller Driver
drivers/usb/mtu3/mtu3_dr.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * mtu3_dr.c - dual role switch and host glue layer *
drivers/usb/mtu3/mtu3_dr.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * mtu3_dr.h - dual role switch and host glue layer header *
drivers/usb/mtu3/mtu3_gadget.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * mtu3_gadget.c - MediaTek usb3 DRD peripheral support *
drivers/usb/mtu3/mtu3_gadget_ep0.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * mtu3_gadget_ep0.c - MediaTek USB3 DRD peripheral driver ep0 handling *
drivers/usb/mtu3/mtu3_host.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * mtu3_dr.c - dual role switch and host glue layer *
drivers/usb/mtu3/mtu3_hw_regs.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * mtu3_hw_regs.h - MediaTek USB3 DRD register and field definitions *
drivers/usb/mtu3/mtu3_plat.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2016 MediaTek Inc. *
drivers/usb/mtu3/mtu3_qmu.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * mtu3_qmu.c - Queue Management Unit driver for device controller *
drivers/usb/mtu3/mtu3_qmu.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * mtu3_qmu.h - Queue Management Unit driver header *
drivers/usb/musb/am35x.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Texas Instruments AM35x "glue layer"
drivers/usb/musb/blackfin.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * MUSB OTG controller driver for Blackfin Processors *
drivers/usb/musb/blackfin.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2007 by Analog Devices, Inc. *
drivers/usb/musb/cppi_dma.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2005-2006 by Texas Instruments *
drivers/usb/musb/da8xx.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Texas Instruments DA8xx/OMAP-L1x "glue layer" *
drivers/usb/musb/davinci.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2005-2006 by Texas Instruments *
drivers/usb/musb/davinci.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2005-2006 by Texas Instruments *
drivers/usb/musb/jz4740.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Ingenic JZ4740 "glue layer" *
drivers/usb/musb/musb_am335x.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/platform_device.h> #include <linux/pm_runtime.h> #include <linux/module.h>
drivers/usb/musb/musb_core.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG driver core code *
drivers/usb/musb/musb_core.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG driver defines *
drivers/usb/musb/musb_cppi41.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/device.h> #include <linux/dma-mapping.h> #include <linux/dmaengine.h>
drivers/usb/musb/musb_debug.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG driver debug defines *
drivers/usb/musb/musb_debugfs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG driver debugfs support *
drivers/usb/musb/musb_dma.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG driver DMA controller abstraction *
drivers/usb/musb/musb_dsps.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Texas Instruments DSPS platforms "glue layer" *
drivers/usb/musb/musb_gadget.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG driver peripheral support *
drivers/usb/musb/musb_gadget.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG driver peripheral defines *
drivers/usb/musb/musb_gadget_ep0.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG peripheral driver ep0 handling *
drivers/usb/musb/musb_host.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG driver host support *
drivers/usb/musb/musb_host.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG driver host defines *
drivers/usb/musb/musb_io.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG driver register I/O *
drivers/usb/musb/musb_regs.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG driver register defines *
drivers/usb/musb/musb_trace.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * musb_trace.c - MUSB Controller Trace Support *
drivers/usb/musb/musb_trace.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * musb_trace.h - MUSB Controller Trace Support *
drivers/usb/musb/musb_virthub.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG driver virtual root hub support *
drivers/usb/musb/musbhsdma.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG driver - support for Mentor's DMA controller *
drivers/usb/musb/musbhsdma.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * MUSB OTG driver - support for Mentor's DMA controller *
drivers/usb/musb/omap2430.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2005-2007 by Texas Instruments * Some code has been taken from tusb6010.c
drivers/usb/musb/omap2430.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2005-2006 by Texas Instruments *
drivers/usb/musb/sunxi.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Allwinner sun4i MUSB Glue Layer *
drivers/usb/musb/tusb6010.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * TUSB6010 USB 2.0 OTG Dual Role controller *
drivers/usb/musb/tusb6010.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Definitions for TUSB6010 USB 2.0 OTG Dual Role controller *
drivers/usb/musb/tusb6010_omap.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * TUSB6010 USB 2.0 OTG Dual Role controller OMAP DMA interface *
drivers/usb/musb/ux500.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2010 ST-Ericsson AB * Mian Yousaf Kaukab <[email protected]>
drivers/usb/musb/ux500_dma.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * drivers/usb/musb/ux500_dma.c *
drivers/usb/phy/of.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB of helper code *
drivers/usb/phy/phy-ab8500-usb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB transceiver driver for AB8500 family chips *
drivers/usb/phy/phy-am335x-control.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/module.h> #include <linux/platform_device.h> #include <linux/err.h>
drivers/usb/phy/phy-am335x.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/module.h> #include <linux/platform_device.h> #include <linux/dma-mapping.h>
drivers/usb/phy/phy-fsl-usb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2007,2008 Freescale semiconductor, Inc. *
drivers/usb/phy/phy-fsl-usb.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* Copyright (C) 2007,2008 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify it
drivers/usb/phy/phy-generic.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * NOP USB transceiver for all USB transceiver which are either built-in * into USB IP or which are mostly autonomous.
drivers/usb/phy/phy-gpio-vbus-usb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * gpio-vbus.c - simple GPIO VBUS sensing driver for B peripheral devices *
drivers/usb/phy/phy-isp1301-omap.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * isp1301_omap - ISP 1301 USB transceiver, talking to OMAP OTG controller *
drivers/usb/phy/phy-isp1301.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * NXP ISP1301 USB transceiver driver *
drivers/usb/phy/phy-keystone.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * phy-keystone - USB PHY, talking to dwc3 controller in Keystone. *
drivers/usb/phy/phy-mv-usb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2011 Marvell International Ltd. All rights reserved. * Author: Chao Xie <[email protected]>
drivers/usb/phy/phy-mv-usb.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2011 Marvell International Ltd. All rights reserved. *
drivers/usb/phy/phy-mxs-usb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2012-2014 Freescale Semiconductor, Inc. * Copyright (C) 2012 Marek Vasut <[email protected]>
drivers/usb/phy/phy-omap-otg.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * OMAP OTG controller driver *
drivers/usb/phy/phy-tahvo.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Tahvo USB transceiver driver *
drivers/usb/phy/phy-tegra-usb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2010 Google, Inc. * Copyright (C) 2013 NVIDIA Corporation
drivers/usb/phy/phy-twl6030-usb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * twl6030_usb - TWL6030 USB transceiver, talking to OMAP OTG driver. *
drivers/usb/phy/phy-ulpi-viewport.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2011 Google, Inc. *
drivers/usb/phy/phy-ulpi.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Generic ULPI USB transceiver support *
drivers/usb/phy/phy.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * phy.c -- USB phy handling *
drivers/usb/renesas_usbhs/common.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * Renesas USB driver *
drivers/usb/renesas_usbhs/common.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * Renesas USB driver *
drivers/usb/renesas_usbhs/fifo.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * Renesas USB driver *
drivers/usb/renesas_usbhs/fifo.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * Renesas USB driver *
drivers/usb/renesas_usbhs/mod.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * Renesas USB driver *
drivers/usb/renesas_usbhs/mod.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * Renesas USB driver *
drivers/usb/renesas_usbhs/mod_gadget.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * Renesas USB driver *
drivers/usb/renesas_usbhs/mod_host.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * Renesas USB driver *
drivers/usb/renesas_usbhs/pipe.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * Renesas USB driver *
drivers/usb/renesas_usbhs/pipe.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * Renesas USB driver *
drivers/usb/renesas_usbhs/rcar2.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * Renesas USB driver R-Car Gen. 2 initialization and power control *
drivers/usb/renesas_usbhs/rcar3.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas USB driver R-Car Gen. 3 initialization and power control *
drivers/usb/serial/aircable.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * AIRcable USB Bluetooth Dongle Driver. *
drivers/usb/serial/ark3116.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2009 by Bart Hartgers ([email protected]) * Original version:
drivers/usb/serial/belkin_sa.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Belkin USB Serial Adapter Driver *
drivers/usb/serial/belkin_sa.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Definitions for Belkin USB Serial Adapter Driver *
drivers/usb/serial/bus.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB Serial Converter Bus specific functions *
drivers/usb/serial/ch341.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright 2007, Frank A Kingswood <[email protected]> * Copyright 2007, Werner Cornelius <[email protected]>
drivers/usb/serial/console.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB Serial Console driver *
drivers/usb/serial/cp210x.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Silicon Laboratories CP210x USB to RS232 serial adaptor driver *
drivers/usb/serial/cyberjack.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * REINER SCT cyberJack pinpad/e-com USB Chipcard Reader Driver *
drivers/usb/serial/cypress_m8.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB Cypress M8 driver *
drivers/usb/serial/digi_acceleport.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Digi AccelePort USB-4 and USB-2 Serial Converters *
drivers/usb/serial/empeg.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB Empeg empeg-car player driver *
drivers/usb/serial/f81232.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Fintek F81232 USB to serial adaptor driver *
drivers/usb/serial/f81534.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * F81532/F81534 USB to Serial Ports Bridge *
drivers/usb/serial/ftdi_sio.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB FTDI SIO driver *
drivers/usb/serial/garmin_gps.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Garmin GPS driver *
drivers/usb/serial/generic.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB Serial Converter Generic functions *
drivers/usb/serial/io_16654.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /************************************************************************ * * 16654.H Definitions for 16C654 UART used on EdgePorts
drivers/usb/serial/io_edgeport.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Edgeport USB Serial Converter driver *
drivers/usb/serial/io_edgeport.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /************************************************************************ * * io_edgeport.h Edgeport Linux Interface definitions
drivers/usb/serial/io_ionsp.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /************************************************************************ * * IONSP.H Definitions for I/O Networks Serial Protocol
drivers/usb/serial/io_ti.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Edgeport USB Serial Converter driver *
drivers/usb/serial/io_ti.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /***************************************************************************** * * Copyright (C) 1997-2002 Inside Out Networks, Inc.
drivers/usb/serial/io_usbvend.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /************************************************************************ * * USBVEND.H Vendor-specific USB definitions
drivers/usb/serial/ipaq.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB Compaq iPAQ driver *
drivers/usb/serial/ipw.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * IPWireless 3G UMTS TDD Modem driver (USB connected) *
drivers/usb/serial/ir-usb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB IR Dongle driver *
drivers/usb/serial/iuu_phoenix.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Infinity Unlimited USB Phoenix driver *
drivers/usb/serial/iuu_phoenix.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Infinity Unlimited USB Phoenix driver *
drivers/usb/serial/keyspan.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* Keyspan USB to Serial Converter driver
drivers/usb/serial/keyspan_pda.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB Keyspan PDA / Xircom / Entrega Converter driver *
drivers/usb/serial/kl5kusb105.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * KLSI KL5KUSB105 chip RS232 converter driver *
drivers/usb/serial/kobil_sct.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * KOBIL USB Smart Card Terminal Driver *
drivers/usb/serial/mct_u232.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * MCT (Magic Control Technology Corp.) USB RS232 Converter Driver *
drivers/usb/serial/mct_u232.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Definitions for MCT (Magic Control Technology) USB-RS232 Converter Driver *
drivers/usb/serial/metro-usb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* Some of this code is credited to Linux USB open source files that are distributed with Linux.
drivers/usb/serial/mos7720.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * mos7720.c * Controls the Moschip 7720 usb to dual port serial converter
drivers/usb/serial/mos7840.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
drivers/usb/serial/mxuport.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * mxuport.c - MOXA UPort series driver *
drivers/usb/serial/navman.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Navman Serial USB driver *
drivers/usb/serial/omninet.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB ZyXEL omni.net LCD PLUS driver *
drivers/usb/serial/opticon.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Opticon USB barcode to serial driver *
drivers/usb/serial/option.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* USB Driver for GSM modems
drivers/usb/serial/oti6858.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Ours Technology Inc. OTi-6858 USB to serial adapter driver. *
drivers/usb/serial/oti6858.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Ours Technology Inc. OTi-6858 USB to serial adapter driver. *
drivers/usb/serial/pl2303.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Prolific PL2303 USB to serial adaptor driver *
drivers/usb/serial/pl2303.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Prolific PL2303 USB to serial adaptor driver header file *
drivers/usb/serial/qcaux.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Qualcomm USB Auxiliary Serial Port driver *
drivers/usb/serial/qcserial.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Qualcomm Serial USB driver *
drivers/usb/serial/quatech2.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * usb-serial driver for Quatech USB 2 devices *
drivers/usb/serial/safe_serial.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Safe Encapsulated USB Serial Driver *
drivers/usb/serial/sierra.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* USB Driver for Sierra Wireless
drivers/usb/serial/spcp8x5.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * spcp8x5 USB to serial adaptor driver *
drivers/usb/serial/ssu100.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * usb-serial driver for Quatech SSU-100 *
drivers/usb/serial/symbolserial.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Symbol USB barcode to serial driver *
drivers/usb/serial/ti_usb_3410_5052.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * TI 3410/5052 USB Serial Driver *
drivers/usb/serial/upd78f0730.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas Electronics uPD78F0730 USB to serial converter driver *
drivers/usb/serial/usb-serial-simple.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB Serial "Simple" driver *
drivers/usb/serial/usb-serial.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB Serial Converter driver *
drivers/usb/serial/usb_debug.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB Debug cable driver *
drivers/usb/serial/usb_wwan.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* USB Driver layer for GSM modems
drivers/usb/serial/visor.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB HandSpring Visor, Palm m50x, and Sony Clie driver * (supports all of the Palm OS USB devices)
drivers/usb/serial/visor.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB HandSpring Visor driver *
drivers/usb/serial/whiteheat.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB ConnectTech WhiteHEAT driver *
drivers/usb/serial/whiteheat.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB ConnectTech WhiteHEAT driver *
drivers/usb/serial/wishbone-serial.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB Wishbone-Serial adapter driver *
drivers/usb/serial/xsens_mt.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Xsens MT USB driver *
drivers/usb/storage/alauda.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for Alauda-based card readers *
drivers/usb/storage/cypress_atacb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Support for emulating SAT (ata pass through) on devices based * on the Cypress USB/ATA bridge supporting ATACB.
drivers/usb/storage/datafab.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for Datafab USB Compact Flash reader *
drivers/usb/storage/debug.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for USB Mass Storage compliant devices * Debugging Functions Source Code File
drivers/usb/storage/debug.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for USB Mass Storage compliant devices * Debugging Functions Header File
drivers/usb/storage/ene_ub6250.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * * This program is free software; you can redistribute it and/or modify it
drivers/usb/storage/freecom.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for Freecom USB/IDE adaptor *
drivers/usb/storage/initializers.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Special Initializers for certain USB Mass Storage devices *
drivers/usb/storage/initializers.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Header file for Special Initializers for certain USB Mass Storage devices *
drivers/usb/storage/isd200.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Transport & Protocol Driver for In-System Design, Inc. ISD200 ASIC *
drivers/usb/storage/jumpshot.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for Lexar "Jumpshot" Compact Flash reader *
drivers/usb/storage/karma.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for Rio Karma *
drivers/usb/storage/onetouch.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Support for the Maxtor OneTouch USB hard drive's button *
drivers/usb/storage/option_ms.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for Option High Speed Mobile Devices. *
drivers/usb/storage/protocol.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for USB Mass Storage compliant devices *
drivers/usb/storage/protocol.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for USB Mass Storage compliant devices * Protocol Functions Header File
drivers/usb/storage/realtek_cr.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for Realtek RTS51xx USB card reader *
drivers/usb/storage/scsiglue.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for USB Mass Storage compliant devices * SCSI layer glue code
drivers/usb/storage/scsiglue.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for USB Mass Storage compliant devices * SCSI Connecting Glue Header File
drivers/usb/storage/sddr09.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for SanDisk SDDR-09 SmartMedia reader *
drivers/usb/storage/sddr55.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for SanDisk SDDR-55 SmartMedia reader *
drivers/usb/storage/shuttle_usbat.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for SCM Microsystems (a.k.a. Shuttle) USB-ATAPI cable *
drivers/usb/storage/transport.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for USB Mass Storage compliant devices *
drivers/usb/storage/transport.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for USB Mass Storage compliant devices * Transport Functions Header File
drivers/usb/storage/uas.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB Attached SCSI * Note that this is not the same as the USB Mass Storage driver
drivers/usb/storage/unusual_alauda.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Unusual Devices File for the Alauda-based card readers *
drivers/usb/storage/unusual_cypress.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Unusual Devices File for devices based on the Cypress USB/ATA bridge * with support for ATACB
drivers/usb/storage/unusual_datafab.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Unusual Devices File for the Datafab USB Compact Flash reader *
drivers/usb/storage/unusual_devs.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for USB Mass Storage compliant devices * Unusual Devices File
drivers/usb/storage/unusual_ene_ub6250.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * * This program is free software; you can redistribute it and/or modify it
drivers/usb/storage/unusual_freecom.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Unusual Devices File for the Freecom USB/IDE adaptor *
drivers/usb/storage/unusual_isd200.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Unusual Devices File for In-System Design, Inc. ISD200 ASIC *
drivers/usb/storage/unusual_jumpshot.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Unusual Devices File for the Lexar "Jumpshot" Compact Flash reader *
drivers/usb/storage/unusual_karma.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Unusual Devices File for the Rio Karma *
drivers/usb/storage/unusual_onetouch.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Unusual Devices File for the Maxtor OneTouch USB hard drive's button *
drivers/usb/storage/unusual_realtek.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for Realtek RTS51xx USB card reader *
drivers/usb/storage/unusual_sddr09.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Unusual Devices File for SanDisk SDDR-09 SmartMedia reader *
drivers/usb/storage/unusual_sddr55.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Unusual Devices File for SanDisk SDDR-55 SmartMedia reader *
drivers/usb/storage/unusual_uas.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for USB Attached SCSI devices - Unusual Devices File *
drivers/usb/storage/unusual_usbat.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Unusual Devices File for SCM Microsystems (a.k.a. Shuttle) USB-ATAPI cable *
drivers/usb/storage/usb.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for USB Mass Storage compliant devices *
drivers/usb/storage/usb.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for USB Mass Storage compliant devices * Main Header File
drivers/usb/storage/usual-tables.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for USB Mass Storage devices * Usual Tables File for usb-storage and libusual
drivers/usb/typec/typec.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB Type-C Connector Class *
drivers/usb/typec/typec_wcove.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /** * typec_wcove.c - WhiskeyCove PMIC USB Type-C PHY driver *
drivers/usb/typec/ucsi/ucsi.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB Type-C Connector System Software Interface driver *
drivers/usb/typec/ucsi/ucsi_acpi.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * UCSI ACPI driver *
drivers/usb/usb-skeleton.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB Skeleton driver - 2.2 *
drivers/usb/usbip/stub.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2003-2008 Takahiro Hirofuchi *
drivers/usb/usbip/stub_dev.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2003-2008 Takahiro Hirofuchi *
drivers/usb/usbip/stub_main.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2003-2008 Takahiro Hirofuchi *
drivers/usb/usbip/stub_rx.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2003-2008 Takahiro Hirofuchi *
drivers/usb/usbip/stub_tx.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2003-2008 Takahiro Hirofuchi *
drivers/usb/usbip/usbip_common.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2003-2008 Takahiro Hirofuchi * Copyright (C) 2015-2016 Samsung Electronics
drivers/usb/usbip/usbip_common.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2003-2008 Takahiro Hirofuchi * Copyright (C) 2015-2016 Samsung Electronics
drivers/usb/usbip/usbip_event.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2003-2008 Takahiro Hirofuchi * Copyright (C) 2015 Nobuo Iwata
drivers/usb/usbip/vhci.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2003-2008 Takahiro Hirofuchi * Copyright (C) 2015 Nobuo Iwata
drivers/usb/usbip/vhci_hcd.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2003-2008 Takahiro Hirofuchi * Copyright (C) 2015-2016 Nobuo Iwata
drivers/usb/usbip/vhci_rx.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2003-2008 Takahiro Hirofuchi *
drivers/usb/usbip/vhci_sysfs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2003-2008 Takahiro Hirofuchi * Copyright (C) 2015-2016 Nobuo Iwata
drivers/usb/usbip/vhci_tx.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2003-2008 Takahiro Hirofuchi *
drivers/usb/usbip/vudc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2015 Karol Kosik <[email protected]> * Copyright (C) 2015-2016 Samsung Electronics
drivers/usb/usbip/vudc_dev.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2015 Karol Kosik <[email protected]> * Copyright (C) 2015-2016 Samsung Electronics
drivers/usb/usbip/vudc_main.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2015 Karol Kosik <[email protected]> * Copyright (C) 2015-2016 Samsung Electronics
drivers/usb/usbip/vudc_rx.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2015 Karol Kosik <[email protected]> * Copyright (C) 2015-2016 Samsung Electronics
drivers/usb/usbip/vudc_sysfs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2015 Karol Kosik <[email protected]> * Copyright (C) 2015-2016 Samsung Electronics
drivers/usb/usbip/vudc_transfer.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2015 Karol Kosik <[email protected]> * Copyright (C) 2015-2016 Samsung Electronics
drivers/usb/usbip/vudc_tx.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2015 Karol Kosik <[email protected]> * Copyright (C) 2015-2016 Samsung Electronics
drivers/usb/wusbcore/cbaf.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless USB - Cable Based Association *
drivers/usb/wusbcore/crypto.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Ultra Wide Band * AES-128 CCM Encryption
drivers/usb/wusbcore/dev-sysfs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * WUSB devices * sysfs bindings
drivers/usb/wusbcore/devconnect.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * WUSB Wire Adapter: Control/Data Streaming Interface (WUSB[8]) * Device Connect handling
drivers/usb/wusbcore/mmc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * WUSB Wire Adapter: Control/Data Streaming Interface (WUSB[8]) * MMC (Microscheduled Management Command) handling
drivers/usb/wusbcore/pal.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless USB Host Controller * UWB Protocol Adaptation Layer (PAL) glue.
drivers/usb/wusbcore/reservation.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * WUSB cluster reservation management *
drivers/usb/wusbcore/rh.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless USB Host Controller * Root Hub operations
drivers/usb/wusbcore/security.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless USB Host Controller * Security support: encryption enablement, etc
drivers/usb/wusbcore/wa-hc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wire Adapter Host Controller Driver * Common items to HWA and DWA based HCDs
drivers/usb/wusbcore/wa-hc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * HWA Host Controller Driver * Wire Adapter Control/Data Streaming Iface (WUSB1.0[8])
drivers/usb/wusbcore/wa-nep.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * WUSB Wire Adapter: Control/Data Streaming Interface (WUSB[8]) * Notification EndPoint support
drivers/usb/wusbcore/wa-rpipe.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * WUSB Wire Adapter * rpipe management
drivers/usb/wusbcore/wa-xfer.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * WUSB Wire Adapter * Data transfer and URB enqueing
drivers/usb/wusbcore/wusbhc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless USB Host Controller * sysfs glue, wusbcore module support and life cycle management
drivers/usb/wusbcore/wusbhc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless USB Host Controller * Common infrastructure for WHCI and HWA WUSB-HC drivers
include/linux/usb/association.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless USB - Cable Based Association *
include/linux/usb/audio-v2.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2010 Daniel Mack <[email protected]> *
include/linux/usb/audio.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * <linux/usb/audio.h> -- USB Audio definitions. *
include/linux/usb/c67x00.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * usb_c67x00.h: platform definitions for the Cypress C67X00 USB chip *
include/linux/usb/cdc-wdm.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB CDC Device Management subdriver *
include/linux/usb/cdc.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB CDC common helpers *
include/linux/usb/cdc_ncm.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) /* * Copyright (C) ST-Ericsson 2010-2012 * Contact: Alexey Orishko <[email protected]>
include/linux/usb/composite.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * composite.h -- framework for usb gadgets which are composite devices *
include/linux/usb/ehci_def.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2001-2002 by David Brownell *
include/linux/usb/ehci_pdriver.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2012 Hauke Mehrtens <[email protected]> *
include/linux/usb/g_hid.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * g_hid.h -- Header file for USB HID gadget driver *
include/linux/usb/gadget.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * <linux/usb/gadget.h> *
include/linux/usb/gpio_vbus.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * A simple GPIO VBUS sensing driver for B peripheral only devices * with internal transceivers.
include/linux/usb/hcd.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2001-2002 by David Brownell *
include/linux/usb/input.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2005 Dmitry Torokhov *
include/linux/usb/isp1301.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * NXP ISP1301 USB transceiver driver *
include/linux/usb/m66592.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * M66592 driver platform data *
include/linux/usb/musb-ux500.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2013 ST-Ericsson AB *
include/linux/usb/net2280.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * NetChip 2280 high/full speed USB device controller. * Unlike many such controllers, this one talks PCI.
include/linux/usb/of.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * OF helpers for usb devices. *
include/linux/usb/ohci_pdriver.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2012 Hauke Mehrtens <[email protected]> *
include/linux/usb/otg-fsm.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* Copyright (C) 2007,2008 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify it
include/linux/usb/phy_companion.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * phy-companion.h -- phy companion to indicate the comparator part of PHY *
include/linux/usb/r8a66597.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * R8A66597 driver platform data *
include/linux/usb/renesas_usbhs.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-1.0+ /* * Renesas USB *
include/linux/usb/rndis_host.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Host Side support for RNDIS Networking Links * Copyright (C) 2005 by David Brownell
include/linux/usb/samsung_usb_phy.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2012 Samsung Electronics Co.Ltd * http://www.samsung.com/
include/linux/usb/serial.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * USB Serial Converter stuff *
include/linux/usb/storage.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #ifndef __LINUX_USB_STORAGE_H#define __LINUX_USB_STORAGE_H
include/linux/usb/tegra_usb_phy.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2010 Google, Inc. *
include/linux/usb/tilegx.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright 2012 Tilera Corporation. All Rights Reserved. *
include/linux/usb/ulpi.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * ulpi.h -- ULPI defines and function prorotypes *
include/linux/usb/usb338x.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB 338x super/high/full speed USB device controller. * Unlike many such controllers, this one talks PCI.
include/linux/usb/usbnet.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * USB Networking Link Interface *
include/linux/usb/wusb-wa.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless USB Wire Adapter constants and structures. *
include/linux/usb/wusb.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Wireless USB Standard Definitions * Event Size Tables
include/linux/usb/xhci-dbgp.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Standalone xHCI debug capability driver *
include/linux/usbdevice_fs.h +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /*****************************************************************************/ /*
Greg Kroah-Hartman
maintainerRe: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/
Quoted 15 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses.
Update the
drivers/usb/andinclude/linux/usb*files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text.This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>
Quoted 7 lines
---
v2: Use the "standard" format of putting the identifier at the top of
the file, and use // for .c and .h files.
Removed the files already marked in Linus's tree.Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.
And here's the full diffstat, I didn't include it in the previous patch to keep the line-length down.
thanks,
greg k-h
drivers/usb/atm/cxacru.c | 1 + drivers/usb/atm/speedtch.c | 1 + drivers/usb/atm/ueagle-atm.c | 1 + drivers/usb/atm/usbatm.c | 1 + drivers/usb/atm/usbatm.h | 1 + drivers/usb/atm/xusbatm.c | 1 + drivers/usb/c67x00/c67x00-drv.c | 1 + drivers/usb/c67x00/c67x00-hcd.c | 1 + drivers/usb/c67x00/c67x00-hcd.h | 1 + drivers/usb/c67x00/c67x00-ll-hpi.c | 1 + drivers/usb/c67x00/c67x00-sched.c | 1 + drivers/usb/c67x00/c67x00.h | 1 + drivers/usb/chipidea/bits.h | 1 + drivers/usb/chipidea/ci.h | 1 + drivers/usb/chipidea/ci_hdrc_imx.c | 1 + drivers/usb/chipidea/ci_hdrc_imx.h | 1 + drivers/usb/chipidea/ci_hdrc_msm.c | 1 + drivers/usb/chipidea/ci_hdrc_pci.c | 1 + drivers/usb/chipidea/ci_hdrc_usb2.c | 1 + drivers/usb/chipidea/ci_hdrc_zevio.c | 1 + drivers/usb/chipidea/core.c | 1 + drivers/usb/chipidea/host.c | 1 + drivers/usb/chipidea/otg.c | 1 + drivers/usb/chipidea/otg.h | 1 + drivers/usb/chipidea/otg_fsm.c | 1 + drivers/usb/chipidea/otg_fsm.h | 1 + drivers/usb/chipidea/udc.c | 1 + drivers/usb/chipidea/udc.h | 1 + drivers/usb/chipidea/ulpi.c | 1 + drivers/usb/chipidea/usbmisc_imx.c | 1 + drivers/usb/class/cdc-acm.c | 1 + drivers/usb/class/cdc-wdm.c | 1 + drivers/usb/class/usblp.c | 1 + drivers/usb/class/usbtmc.c | 1 + drivers/usb/common/common.c | 1 + drivers/usb/common/led.c | 1 + drivers/usb/common/ulpi.c | 1 + drivers/usb/common/usb-otg-fsm.c | 1 + drivers/usb/core/devices.c | 1 + drivers/usb/core/devio.c | 1 + drivers/usb/core/hcd-pci.c | 1 + drivers/usb/core/hcd.c | 1 + drivers/usb/core/hub.h | 1 + drivers/usb/core/ledtrig-usbport.c | 1 + drivers/usb/core/of.c | 1 + drivers/usb/core/otg_whitelist.h | 1 + drivers/usb/core/port.c | 1 + drivers/usb/core/quirks.c | 1 + drivers/usb/core/usb-acpi.c | 1 + drivers/usb/dwc2/core.c | 1 + drivers/usb/dwc2/core.h | 1 + drivers/usb/dwc2/core_intr.c | 1 + drivers/usb/dwc2/debug.h | 1 + drivers/usb/dwc2/debugfs.c | 1 + drivers/usb/dwc2/gadget.c | 1 + drivers/usb/dwc2/hcd.c | 1 + drivers/usb/dwc2/hcd.h | 1 + drivers/usb/dwc2/hcd_ddma.c | 1 + drivers/usb/dwc2/hcd_intr.c | 1 + drivers/usb/dwc2/hcd_queue.c | 1 + drivers/usb/dwc2/hw.h | 1 + drivers/usb/dwc2/params.c | 1 + drivers/usb/dwc2/pci.c | 1 + drivers/usb/dwc2/platform.c | 1 + drivers/usb/dwc3/core.c | 1 + drivers/usb/dwc3/core.h | 1 + drivers/usb/dwc3/debug.h | 1 + drivers/usb/dwc3/debugfs.c | 1 + drivers/usb/dwc3/drd.c | 1 + drivers/usb/dwc3/dwc3-exynos.c | 1 + drivers/usb/dwc3/dwc3-keystone.c | 1 + drivers/usb/dwc3/dwc3-of-simple.c | 1 + drivers/usb/dwc3/dwc3-omap.c | 1 + drivers/usb/dwc3/dwc3-pci.c | 1 + drivers/usb/dwc3/dwc3-st.c | 1 + drivers/usb/dwc3/ep0.c | 1 + drivers/usb/dwc3/gadget.c | 1 + drivers/usb/dwc3/gadget.h | 1 + drivers/usb/dwc3/host.c | 1 + drivers/usb/dwc3/io.h | 1 + drivers/usb/dwc3/trace.c | 1 + drivers/usb/dwc3/trace.h | 1 + drivers/usb/dwc3/ulpi.c | 1 + drivers/usb/early/ehci-dbgp.c | 1 + drivers/usb/early/xhci-dbc.c | 1 + drivers/usb/early/xhci-dbc.h | 1 + drivers/usb/gadget/composite.c | 1 + drivers/usb/gadget/config.c | 1 + drivers/usb/gadget/configfs.c | 1 + drivers/usb/gadget/epautoconf.c | 1 + drivers/usb/gadget/function/f_acm.c | 1 + drivers/usb/gadget/function/f_ecm.c | 1 + drivers/usb/gadget/function/f_eem.c | 1 + drivers/usb/gadget/function/f_fs.c | 1 + drivers/usb/gadget/function/f_hid.c | 1 + drivers/usb/gadget/function/f_loopback.c | 1 + drivers/usb/gadget/function/f_mass_storage.c | 1 + drivers/usb/gadget/function/f_midi.c | 1 + drivers/usb/gadget/function/f_ncm.c | 1 + drivers/usb/gadget/function/f_obex.c | 1 + drivers/usb/gadget/function/f_phonet.c | 1 + drivers/usb/gadget/function/f_printer.c | 1 + drivers/usb/gadget/function/f_rndis.c | 1 + drivers/usb/gadget/function/f_serial.c | 1 + drivers/usb/gadget/function/f_sourcesink.c | 1 + drivers/usb/gadget/function/f_subset.c | 1 + drivers/usb/gadget/function/f_tcm.c | 1 + drivers/usb/gadget/function/f_uac1.c | 1 + drivers/usb/gadget/function/f_uac1_legacy.c | 1 + drivers/usb/gadget/function/f_uac2.c | 1 + drivers/usb/gadget/function/f_uvc.c | 1 + drivers/usb/gadget/function/f_uvc.h | 1 + drivers/usb/gadget/function/rndis.c | 1 + drivers/usb/gadget/function/rndis.h | 1 + drivers/usb/gadget/function/storage_common.c | 1 + drivers/usb/gadget/function/u_audio.c | 1 + drivers/usb/gadget/function/u_audio.h | 1 + drivers/usb/gadget/function/u_ecm.h | 1 + drivers/usb/gadget/function/u_eem.h | 1 + drivers/usb/gadget/function/u_ether.c | 1 + drivers/usb/gadget/function/u_ether.h | 1 + drivers/usb/gadget/function/u_ether_configfs.h | 1 + drivers/usb/gadget/function/u_fs.h | 1 + drivers/usb/gadget/function/u_gether.h | 1 + drivers/usb/gadget/function/u_hid.h | 1 + drivers/usb/gadget/function/u_midi.h | 1 + drivers/usb/gadget/function/u_ncm.h | 1 + drivers/usb/gadget/function/u_phonet.h | 1 + drivers/usb/gadget/function/u_printer.h | 1 + drivers/usb/gadget/function/u_rndis.h | 1 + drivers/usb/gadget/function/u_serial.c | 1 + drivers/usb/gadget/function/u_serial.h | 1 + drivers/usb/gadget/function/u_tcm.h | 1 + drivers/usb/gadget/function/u_uac1.h | 1 + drivers/usb/gadget/function/u_uac1_legacy.c | 1 + drivers/usb/gadget/function/u_uac1_legacy.h | 1 + drivers/usb/gadget/function/u_uac2.h | 1 + drivers/usb/gadget/function/u_uvc.h | 1 + drivers/usb/gadget/function/uvc.h | 1 + drivers/usb/gadget/function/uvc_configfs.c | 1 + drivers/usb/gadget/function/uvc_configfs.h | 1 + drivers/usb/gadget/function/uvc_queue.c | 1 + drivers/usb/gadget/function/uvc_v4l2.c | 1 + drivers/usb/gadget/function/uvc_v4l2.h | 1 + drivers/usb/gadget/function/uvc_video.c | 1 + drivers/usb/gadget/function/uvc_video.h | 1 + drivers/usb/gadget/functions.c | 1 + drivers/usb/gadget/legacy/acm_ms.c | 1 + drivers/usb/gadget/legacy/audio.c | 1 + drivers/usb/gadget/legacy/cdc2.c | 1 + drivers/usb/gadget/legacy/dbgp.c | 1 + drivers/usb/gadget/legacy/ether.c | 1 + drivers/usb/gadget/legacy/g_ffs.c | 1 + drivers/usb/gadget/legacy/gmidi.c | 1 + drivers/usb/gadget/legacy/hid.c | 1 + drivers/usb/gadget/legacy/inode.c | 1 + drivers/usb/gadget/legacy/mass_storage.c | 1 + drivers/usb/gadget/legacy/multi.c | 1 + drivers/usb/gadget/legacy/ncm.c | 1 + drivers/usb/gadget/legacy/nokia.c | 1 + drivers/usb/gadget/legacy/printer.c | 1 + drivers/usb/gadget/legacy/serial.c | 1 + drivers/usb/gadget/legacy/tcm_usb_gadget.c | 1 + drivers/usb/gadget/legacy/webcam.c | 1 + drivers/usb/gadget/legacy/zero.c | 1 + drivers/usb/gadget/u_f.c | 1 + drivers/usb/gadget/u_f.h | 1 + drivers/usb/gadget/u_os_desc.h | 1 + drivers/usb/gadget/udc/amd5536udc.h | 1 + drivers/usb/gadget/udc/amd5536udc_pci.c | 1 + drivers/usb/gadget/udc/at91_udc.c | 1 + drivers/usb/gadget/udc/at91_udc.h | 1 + drivers/usb/gadget/udc/atmel_usba_udc.c | 1 + drivers/usb/gadget/udc/atmel_usba_udc.h | 1 + drivers/usb/gadget/udc/bcm63xx_udc.c | 1 + drivers/usb/gadget/udc/bdc/bdc.h | 1 + drivers/usb/gadget/udc/bdc/bdc_cmd.c | 1 + drivers/usb/gadget/udc/bdc/bdc_cmd.h | 1 + drivers/usb/gadget/udc/bdc/bdc_core.c | 1 + drivers/usb/gadget/udc/bdc/bdc_dbg.c | 1 + drivers/usb/gadget/udc/bdc/bdc_dbg.h | 1 + drivers/usb/gadget/udc/bdc/bdc_ep.c | 1 + drivers/usb/gadget/udc/bdc/bdc_ep.h | 1 + drivers/usb/gadget/udc/bdc/bdc_pci.c | 1 + drivers/usb/gadget/udc/bdc/bdc_udc.c | 1 + drivers/usb/gadget/udc/core.c | 1 + drivers/usb/gadget/udc/dummy_hcd.c | 1 + drivers/usb/gadget/udc/fotg210-udc.c | 1 + drivers/usb/gadget/udc/fotg210.h | 1 + drivers/usb/gadget/udc/fsl_mxc_udc.c | 1 + drivers/usb/gadget/udc/fsl_qe_udc.c | 1 + drivers/usb/gadget/udc/fsl_qe_udc.h | 1 + drivers/usb/gadget/udc/fsl_udc_core.c | 1 + drivers/usb/gadget/udc/fsl_usb2_udc.h | 1 + drivers/usb/gadget/udc/fusb300_udc.c | 1 + drivers/usb/gadget/udc/fusb300_udc.h | 1 + drivers/usb/gadget/udc/goku_udc.c | 1 + drivers/usb/gadget/udc/goku_udc.h | 1 + drivers/usb/gadget/udc/gr_udc.c | 1 + drivers/usb/gadget/udc/gr_udc.h | 1 + drivers/usb/gadget/udc/lpc32xx_udc.c | 1 + drivers/usb/gadget/udc/m66592-udc.c | 1 + drivers/usb/gadget/udc/m66592-udc.h | 1 + drivers/usb/gadget/udc/mv_u3d.h | 1 + drivers/usb/gadget/udc/mv_u3d_core.c | 1 + drivers/usb/gadget/udc/mv_udc.h | 1 + drivers/usb/gadget/udc/mv_udc_core.c | 1 + drivers/usb/gadget/udc/net2272.c | 1 + drivers/usb/gadget/udc/net2272.h | 1 + drivers/usb/gadget/udc/net2280.c | 1 + drivers/usb/gadget/udc/net2280.h | 1 + drivers/usb/gadget/udc/omap_udc.c | 1 + drivers/usb/gadget/udc/pch_udc.c | 1 + drivers/usb/gadget/udc/pxa25x_udc.c | 1 + drivers/usb/gadget/udc/pxa25x_udc.h | 1 + drivers/usb/gadget/udc/pxa27x_udc.c | 1 + drivers/usb/gadget/udc/pxa27x_udc.h | 1 + drivers/usb/gadget/udc/r8a66597-udc.c | 1 + drivers/usb/gadget/udc/r8a66597-udc.h | 1 + drivers/usb/gadget/udc/renesas_usb3.c | 1 + drivers/usb/gadget/udc/s3c-hsudc.c | 1 + drivers/usb/gadget/udc/s3c2410_udc.c | 1 + drivers/usb/gadget/udc/s3c2410_udc.h | 1 + drivers/usb/gadget/udc/snps_udc_core.c | 1 + drivers/usb/gadget/udc/snps_udc_plat.c | 1 + drivers/usb/gadget/udc/trace.c | 1 + drivers/usb/gadget/udc/trace.h | 1 + drivers/usb/gadget/udc/udc-xilinx.c | 1 + drivers/usb/gadget/usbstring.c | 1 + drivers/usb/host/bcma-hcd.c | 1 + drivers/usb/host/ehci-atmel.c | 1 + drivers/usb/host/ehci-dbg.c | 1 + drivers/usb/host/ehci-exynos.c | 1 + drivers/usb/host/ehci-fsl.c | 1 + drivers/usb/host/ehci-fsl.h | 1 + drivers/usb/host/ehci-grlib.c | 1 + drivers/usb/host/ehci-hcd.c | 1 + drivers/usb/host/ehci-hub.c | 1 + drivers/usb/host/ehci-mem.c | 1 + drivers/usb/host/ehci-mv.c | 1 + drivers/usb/host/ehci-mxc.c | 1 + drivers/usb/host/ehci-omap.c | 1 + drivers/usb/host/ehci-orion.c | 1 + drivers/usb/host/ehci-pci.c | 1 + drivers/usb/host/ehci-platform.c | 1 + drivers/usb/host/ehci-pmcmsp.c | 1 + drivers/usb/host/ehci-ppc-of.c | 1 + drivers/usb/host/ehci-ps3.c | 1 + drivers/usb/host/ehci-q.c | 1 + drivers/usb/host/ehci-sched.c | 1 + drivers/usb/host/ehci-sh.c | 1 + drivers/usb/host/ehci-spear.c | 1 + drivers/usb/host/ehci-st.c | 1 + drivers/usb/host/ehci-sysfs.c | 1 + drivers/usb/host/ehci-tegra.c | 1 + drivers/usb/host/ehci-tilegx.c | 1 + drivers/usb/host/ehci-timer.c | 1 + drivers/usb/host/ehci-w90x900.c | 1 + drivers/usb/host/ehci-xilinx-of.c | 1 + drivers/usb/host/ehci.h | 1 + drivers/usb/host/fhci-dbg.c | 1 + drivers/usb/host/fhci-hcd.c | 1 + drivers/usb/host/fhci-hub.c | 1 + drivers/usb/host/fhci-mem.c | 1 + drivers/usb/host/fhci-q.c | 1 + drivers/usb/host/fhci-sched.c | 1 + drivers/usb/host/fhci-tds.c | 1 + drivers/usb/host/fhci.h | 1 + drivers/usb/host/fotg210-hcd.c | 1 + drivers/usb/host/fsl-mph-dr-of.c | 1 + drivers/usb/host/hwa-hc.c | 1 + drivers/usb/host/imx21-dbg.c | 1 + drivers/usb/host/imx21-hcd.c | 1 + drivers/usb/host/imx21-hcd.h | 1 + drivers/usb/host/isp116x-hcd.c | 1 + drivers/usb/host/isp1362-hcd.c | 1 + drivers/usb/host/max3421-hcd.c | 1 + drivers/usb/host/ohci-at91.c | 1 + drivers/usb/host/ohci-da8xx.c | 1 + drivers/usb/host/ohci-dbg.c | 1 + drivers/usb/host/ohci-exynos.c | 1 + drivers/usb/host/ohci-hcd.c | 1 + drivers/usb/host/ohci-hub.c | 1 + drivers/usb/host/ohci-mem.c | 1 + drivers/usb/host/ohci-nxp.c | 1 + drivers/usb/host/ohci-omap.c | 1 + drivers/usb/host/ohci-pci.c | 1 + drivers/usb/host/ohci-platform.c | 1 + drivers/usb/host/ohci-ppc-of.c | 1 + drivers/usb/host/ohci-ps3.c | 1 + drivers/usb/host/ohci-pxa27x.c | 1 + drivers/usb/host/ohci-q.c | 1 + drivers/usb/host/ohci-s3c2410.c | 1 + drivers/usb/host/ohci-sa1111.c | 1 + drivers/usb/host/ohci-sm501.c | 1 + drivers/usb/host/ohci-spear.c | 1 + drivers/usb/host/ohci-st.c | 1 + drivers/usb/host/ohci-tilegx.c | 1 + drivers/usb/host/ohci-tmio.c | 1 + drivers/usb/host/ohci.h | 1 + drivers/usb/host/oxu210hp-hcd.c | 1 + drivers/usb/host/pci-quirks.c | 1 + drivers/usb/host/r8a66597-hcd.c | 1 + drivers/usb/host/r8a66597.h | 1 + drivers/usb/host/sl811-hcd.c | 1 + drivers/usb/host/sl811_cs.c | 1 + drivers/usb/host/ssb-hcd.c | 1 + drivers/usb/host/u132-hcd.c | 1 + drivers/usb/host/uhci-hcd.c | 1 + drivers/usb/host/whci/asl.c | 1 + drivers/usb/host/whci/debug.c | 1 + drivers/usb/host/whci/hcd.c | 1 + drivers/usb/host/whci/hw.c | 1 + drivers/usb/host/whci/init.c | 1 + drivers/usb/host/whci/int.c | 1 + drivers/usb/host/whci/pzl.c | 1 + drivers/usb/host/whci/qset.c | 1 + drivers/usb/host/whci/whcd.h | 1 + drivers/usb/host/whci/whci-hc.h | 1 + drivers/usb/host/whci/wusb.c | 1 + drivers/usb/host/xhci-dbg.c | 1 + drivers/usb/host/xhci-ext-caps.h | 1 + drivers/usb/host/xhci-hub.c | 1 + drivers/usb/host/xhci-mem.c | 1 + drivers/usb/host/xhci-mtk-sch.c | 1 + drivers/usb/host/xhci-mtk.c | 1 + drivers/usb/host/xhci-mtk.h | 1 + drivers/usb/host/xhci-mvebu.c | 1 + drivers/usb/host/xhci-mvebu.h | 1 + drivers/usb/host/xhci-pci.c | 1 + drivers/usb/host/xhci-plat.c | 1 + drivers/usb/host/xhci-plat.h | 1 + drivers/usb/host/xhci-rcar.c | 1 + drivers/usb/host/xhci-rcar.h | 1 + drivers/usb/host/xhci-ring.c | 1 + drivers/usb/host/xhci-tegra.c | 1 + drivers/usb/host/xhci-trace.c | 1 + drivers/usb/host/xhci-trace.h | 1 + drivers/usb/host/xhci.c | 1 + drivers/usb/host/xhci.h | 1 + drivers/usb/image/mdc800.c | 1 + drivers/usb/image/microtek.c | 1 + drivers/usb/isp1760/isp1760-core.c | 1 + drivers/usb/isp1760/isp1760-core.h | 1 + drivers/usb/isp1760/isp1760-regs.h | 1 + drivers/usb/isp1760/isp1760-udc.c | 1 + drivers/usb/isp1760/isp1760-udc.h | 1 + drivers/usb/misc/adutux.c | 1 + drivers/usb/misc/appledisplay.c | 1 + drivers/usb/misc/chaoskey.c | 1 + drivers/usb/misc/cypress_cy7c63.c | 1 + drivers/usb/misc/cytherm.c | 1 + drivers/usb/misc/ehset.c | 1 + drivers/usb/misc/emi26.c | 1 + drivers/usb/misc/emi62.c | 1 + drivers/usb/misc/ezusb.c | 1 + drivers/usb/misc/ftdi-elan.c | 1 + drivers/usb/misc/idmouse.c | 1 + drivers/usb/misc/iowarrior.c | 1 + drivers/usb/misc/isight_firmware.c | 1 + drivers/usb/misc/ldusb.c | 1 + drivers/usb/misc/legousbtower.c | 1 + drivers/usb/misc/lvstest.c | 1 + drivers/usb/misc/rio500.c | 1 + drivers/usb/misc/rio500_usb.h | 1 + drivers/usb/misc/sisusbvga/sisusb.c | 1 + drivers/usb/misc/sisusbvga/sisusb.h | 1 + drivers/usb/misc/sisusbvga/sisusb_con.c | 1 + drivers/usb/misc/sisusbvga/sisusb_init.c | 1 + drivers/usb/misc/sisusbvga/sisusb_init.h | 1 + drivers/usb/misc/sisusbvga/sisusb_struct.h | 1 + drivers/usb/misc/trancevibrator.c | 1 + drivers/usb/misc/usb251xb.c | 1 + drivers/usb/misc/usb3503.c | 1 + drivers/usb/misc/usb4604.c | 1 + drivers/usb/misc/usb_u132.h | 1 + drivers/usb/misc/usblcd.c | 1 + drivers/usb/misc/usbsevseg.c | 1 + drivers/usb/misc/usbtest.c | 1 + drivers/usb/misc/uss720.c | 1 + drivers/usb/misc/yurex.c | 1 + drivers/usb/mon/mon_main.c | 1 + drivers/usb/mtu3/mtu3.h | 1 + drivers/usb/mtu3/mtu3_core.c | 1 + drivers/usb/mtu3/mtu3_dr.c | 1 + drivers/usb/mtu3/mtu3_dr.h | 1 + drivers/usb/mtu3/mtu3_gadget.c | 1 + drivers/usb/mtu3/mtu3_gadget_ep0.c | 1 + drivers/usb/mtu3/mtu3_host.c | 1 + drivers/usb/mtu3/mtu3_hw_regs.h | 1 + drivers/usb/mtu3/mtu3_plat.c | 1 + drivers/usb/mtu3/mtu3_qmu.c | 1 + drivers/usb/mtu3/mtu3_qmu.h | 1 + drivers/usb/musb/am35x.c | 1 + drivers/usb/musb/blackfin.c | 1 + drivers/usb/musb/blackfin.h | 1 + drivers/usb/musb/cppi_dma.c | 1 + drivers/usb/musb/da8xx.c | 1 + drivers/usb/musb/davinci.c | 1 + drivers/usb/musb/davinci.h | 1 + drivers/usb/musb/jz4740.c | 1 + drivers/usb/musb/musb_am335x.c | 1 + drivers/usb/musb/musb_core.c | 1 + drivers/usb/musb/musb_core.h | 1 + drivers/usb/musb/musb_cppi41.c | 1 + drivers/usb/musb/musb_debug.h | 1 + drivers/usb/musb/musb_debugfs.c | 1 + drivers/usb/musb/musb_dma.h | 1 + drivers/usb/musb/musb_dsps.c | 1 + drivers/usb/musb/musb_gadget.c | 1 + drivers/usb/musb/musb_gadget.h | 1 + drivers/usb/musb/musb_gadget_ep0.c | 1 + drivers/usb/musb/musb_host.c | 1 + drivers/usb/musb/musb_host.h | 1 + drivers/usb/musb/musb_io.h | 1 + drivers/usb/musb/musb_regs.h | 1 + drivers/usb/musb/musb_trace.c | 1 + drivers/usb/musb/musb_trace.h | 1 + drivers/usb/musb/musb_virthub.c | 1 + drivers/usb/musb/musbhsdma.c | 1 + drivers/usb/musb/musbhsdma.h | 1 + drivers/usb/musb/omap2430.c | 1 + drivers/usb/musb/omap2430.h | 1 + drivers/usb/musb/sunxi.c | 1 + drivers/usb/musb/tusb6010.c | 1 + drivers/usb/musb/tusb6010.h | 1 + drivers/usb/musb/tusb6010_omap.c | 1 + drivers/usb/musb/ux500.c | 1 + drivers/usb/musb/ux500_dma.c | 1 + drivers/usb/phy/of.c | 1 + drivers/usb/phy/phy-ab8500-usb.c | 1 + drivers/usb/phy/phy-am335x-control.c | 1 + drivers/usb/phy/phy-am335x.c | 1 + drivers/usb/phy/phy-fsl-usb.c | 1 + drivers/usb/phy/phy-fsl-usb.h | 1 + drivers/usb/phy/phy-generic.c | 1 + drivers/usb/phy/phy-gpio-vbus-usb.c | 1 + drivers/usb/phy/phy-isp1301-omap.c | 1 + drivers/usb/phy/phy-isp1301.c | 1 + drivers/usb/phy/phy-keystone.c | 1 + drivers/usb/phy/phy-mv-usb.c | 1 + drivers/usb/phy/phy-mv-usb.h | 1 + drivers/usb/phy/phy-mxs-usb.c | 1 + drivers/usb/phy/phy-omap-otg.c | 1 + drivers/usb/phy/phy-tahvo.c | 1 + drivers/usb/phy/phy-tegra-usb.c | 1 + drivers/usb/phy/phy-twl6030-usb.c | 1 + drivers/usb/phy/phy-ulpi-viewport.c | 1 + drivers/usb/phy/phy-ulpi.c | 1 + drivers/usb/phy/phy.c | 1 + drivers/usb/renesas_usbhs/common.c | 1 + drivers/usb/renesas_usbhs/common.h | 1 + drivers/usb/renesas_usbhs/fifo.c | 1 + drivers/usb/renesas_usbhs/fifo.h | 1 + drivers/usb/renesas_usbhs/mod.c | 1 + drivers/usb/renesas_usbhs/mod.h | 1 + drivers/usb/renesas_usbhs/mod_gadget.c | 1 + drivers/usb/renesas_usbhs/mod_host.c | 1 + drivers/usb/renesas_usbhs/pipe.c | 1 + drivers/usb/renesas_usbhs/pipe.h | 1 + drivers/usb/renesas_usbhs/rcar2.c | 1 + drivers/usb/renesas_usbhs/rcar3.c | 1 + drivers/usb/serial/aircable.c | 1 + drivers/usb/serial/ark3116.c | 1 + drivers/usb/serial/belkin_sa.c | 1 + drivers/usb/serial/belkin_sa.h | 1 + drivers/usb/serial/bus.c | 1 + drivers/usb/serial/ch341.c | 1 + drivers/usb/serial/console.c | 1 + drivers/usb/serial/cp210x.c | 1 + drivers/usb/serial/cyberjack.c | 1 + drivers/usb/serial/cypress_m8.c | 1 + drivers/usb/serial/digi_acceleport.c | 1 + drivers/usb/serial/empeg.c | 1 + drivers/usb/serial/f81232.c | 1 + drivers/usb/serial/f81534.c | 1 + drivers/usb/serial/ftdi_sio.c | 1 + drivers/usb/serial/garmin_gps.c | 1 + drivers/usb/serial/generic.c | 1 + drivers/usb/serial/io_16654.h | 1 + drivers/usb/serial/io_edgeport.c | 1 + drivers/usb/serial/io_edgeport.h | 1 + drivers/usb/serial/io_ionsp.h | 1 + drivers/usb/serial/io_ti.c | 1 + drivers/usb/serial/io_ti.h | 1 + drivers/usb/serial/io_usbvend.h | 1 + drivers/usb/serial/ipaq.c | 1 + drivers/usb/serial/ipw.c | 1 + drivers/usb/serial/ir-usb.c | 1 + drivers/usb/serial/iuu_phoenix.c | 1 + drivers/usb/serial/iuu_phoenix.h | 1 + drivers/usb/serial/keyspan.c | 1 + drivers/usb/serial/keyspan_pda.c | 1 + drivers/usb/serial/kl5kusb105.c | 1 + drivers/usb/serial/kobil_sct.c | 1 + drivers/usb/serial/mct_u232.c | 1 + drivers/usb/serial/mct_u232.h | 1 + drivers/usb/serial/metro-usb.c | 1 + drivers/usb/serial/mos7720.c | 1 + drivers/usb/serial/mos7840.c | 1 + drivers/usb/serial/mxuport.c | 1 + drivers/usb/serial/navman.c | 1 + drivers/usb/serial/omninet.c | 1 + drivers/usb/serial/opticon.c | 1 + drivers/usb/serial/option.c | 1 + drivers/usb/serial/oti6858.c | 1 + drivers/usb/serial/oti6858.h | 1 + drivers/usb/serial/pl2303.c | 1 + drivers/usb/serial/pl2303.h | 1 + drivers/usb/serial/qcaux.c | 1 + drivers/usb/serial/qcserial.c | 1 + drivers/usb/serial/quatech2.c | 1 + drivers/usb/serial/safe_serial.c | 1 + drivers/usb/serial/sierra.c | 1 + drivers/usb/serial/spcp8x5.c | 1 + drivers/usb/serial/ssu100.c | 1 + drivers/usb/serial/symbolserial.c | 1 + drivers/usb/serial/ti_usb_3410_5052.c | 1 + drivers/usb/serial/upd78f0730.c | 1 + drivers/usb/serial/usb-serial-simple.c | 1 + drivers/usb/serial/usb-serial.c | 1 + drivers/usb/serial/usb_debug.c | 1 + drivers/usb/serial/usb_wwan.c | 1 + drivers/usb/serial/visor.c | 1 + drivers/usb/serial/visor.h | 1 + drivers/usb/serial/whiteheat.c | 1 + drivers/usb/serial/whiteheat.h | 1 + drivers/usb/serial/wishbone-serial.c | 1 + drivers/usb/serial/xsens_mt.c | 1 + drivers/usb/storage/alauda.c | 1 + drivers/usb/storage/cypress_atacb.c | 1 + drivers/usb/storage/datafab.c | 1 + drivers/usb/storage/debug.c | 1 + drivers/usb/storage/debug.h | 1 + drivers/usb/storage/ene_ub6250.c | 1 + drivers/usb/storage/freecom.c | 1 + drivers/usb/storage/initializers.c | 1 + drivers/usb/storage/initializers.h | 1 + drivers/usb/storage/isd200.c | 1 + drivers/usb/storage/jumpshot.c | 1 + drivers/usb/storage/karma.c | 1 + drivers/usb/storage/onetouch.c | 1 + drivers/usb/storage/option_ms.c | 1 + drivers/usb/storage/protocol.c | 1 + drivers/usb/storage/protocol.h | 1 + drivers/usb/storage/realtek_cr.c | 1 + drivers/usb/storage/scsiglue.c | 1 + drivers/usb/storage/scsiglue.h | 1 + drivers/usb/storage/sddr09.c | 1 + drivers/usb/storage/sddr55.c | 1 + drivers/usb/storage/shuttle_usbat.c | 1 + drivers/usb/storage/transport.c | 1 + drivers/usb/storage/transport.h | 1 + drivers/usb/storage/uas.c | 1 + drivers/usb/storage/unusual_alauda.h | 1 + drivers/usb/storage/unusual_cypress.h | 1 + drivers/usb/storage/unusual_datafab.h | 1 + drivers/usb/storage/unusual_devs.h | 1 + drivers/usb/storage/unusual_ene_ub6250.h | 1 + drivers/usb/storage/unusual_freecom.h | 1 + drivers/usb/storage/unusual_isd200.h | 1 + drivers/usb/storage/unusual_jumpshot.h | 1 + drivers/usb/storage/unusual_karma.h | 1 + drivers/usb/storage/unusual_onetouch.h | 1 + drivers/usb/storage/unusual_realtek.h | 1 + drivers/usb/storage/unusual_sddr09.h | 1 + drivers/usb/storage/unusual_sddr55.h | 1 + drivers/usb/storage/unusual_uas.h | 1 + drivers/usb/storage/unusual_usbat.h | 1 + drivers/usb/storage/usb.c | 1 + drivers/usb/storage/usb.h | 1 + drivers/usb/storage/usual-tables.c | 1 + drivers/usb/typec/typec.c | 1 + drivers/usb/typec/typec_wcove.c | 1 + drivers/usb/typec/ucsi/ucsi.c | 1 + drivers/usb/typec/ucsi/ucsi_acpi.c | 1 + drivers/usb/usb-skeleton.c | 1 + drivers/usb/usbip/stub.h | 1 + drivers/usb/usbip/stub_dev.c | 1 + drivers/usb/usbip/stub_main.c | 1 + drivers/usb/usbip/stub_rx.c | 1 + drivers/usb/usbip/stub_tx.c | 1 + drivers/usb/usbip/usbip_common.c | 1 + drivers/usb/usbip/usbip_common.h | 1 + drivers/usb/usbip/usbip_event.c | 1 + drivers/usb/usbip/vhci.h | 1 + drivers/usb/usbip/vhci_hcd.c | 1 + drivers/usb/usbip/vhci_rx.c | 1 + drivers/usb/usbip/vhci_sysfs.c | 1 + drivers/usb/usbip/vhci_tx.c | 1 + drivers/usb/usbip/vudc.h | 1 + drivers/usb/usbip/vudc_dev.c | 1 + drivers/usb/usbip/vudc_main.c | 1 + drivers/usb/usbip/vudc_rx.c | 1 + drivers/usb/usbip/vudc_sysfs.c | 1 + drivers/usb/usbip/vudc_transfer.c | 1 + drivers/usb/usbip/vudc_tx.c | 1 + drivers/usb/wusbcore/cbaf.c | 1 + drivers/usb/wusbcore/crypto.c | 1 + drivers/usb/wusbcore/dev-sysfs.c | 1 + drivers/usb/wusbcore/devconnect.c | 1 + drivers/usb/wusbcore/mmc.c | 1 + drivers/usb/wusbcore/pal.c | 1 + drivers/usb/wusbcore/reservation.c | 1 + drivers/usb/wusbcore/rh.c | 1 + drivers/usb/wusbcore/security.c | 1 + drivers/usb/wusbcore/wa-hc.c | 1 + drivers/usb/wusbcore/wa-hc.h | 1 + drivers/usb/wusbcore/wa-nep.c | 1 + drivers/usb/wusbcore/wa-rpipe.c | 1 + drivers/usb/wusbcore/wa-xfer.c | 1 + drivers/usb/wusbcore/wusbhc.c | 1 + drivers/usb/wusbcore/wusbhc.h | 1 + include/linux/usb/association.h | 1 + include/linux/usb/audio-v2.h | 1 + include/linux/usb/audio.h | 1 + include/linux/usb/c67x00.h | 1 + include/linux/usb/cdc-wdm.h | 1 + include/linux/usb/cdc.h | 1 + include/linux/usb/cdc_ncm.h | 1 + include/linux/usb/composite.h | 1 + include/linux/usb/ehci_def.h | 1 + include/linux/usb/ehci_pdriver.h | 1 + include/linux/usb/g_hid.h | 1 + include/linux/usb/gadget.h | 1 + include/linux/usb/gpio_vbus.h | 1 + include/linux/usb/hcd.h | 1 + include/linux/usb/input.h | 1 + include/linux/usb/isp1301.h | 1 + include/linux/usb/m66592.h | 1 + include/linux/usb/musb-ux500.h | 1 + include/linux/usb/net2280.h | 1 + include/linux/usb/of.h | 1 + include/linux/usb/ohci_pdriver.h | 1 + include/linux/usb/otg-fsm.h | 1 + include/linux/usb/phy_companion.h | 1 + include/linux/usb/r8a66597.h | 1 + include/linux/usb/renesas_usbhs.h | 1 + include/linux/usb/rndis_host.h | 1 + include/linux/usb/samsung_usb_phy.h | 1 + include/linux/usb/serial.h | 1 + include/linux/usb/storage.h | 1 + include/linux/usb/tegra_usb_phy.h | 1 + include/linux/usb/tilegx.h | 1 + include/linux/usb/ulpi.h | 1 + include/linux/usb/usb338x.h | 1 + include/linux/usb/usbnet.h | 1 + include/linux/usb/wusb-wa.h | 1 + include/linux/usb/wusb.h | 1 + include/linux/usb/xhci-dbgp.h | 1 + include/linux/usbdevice_fs.h | 1 + 651 files changed, 651 insertions(+)
Re: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/
In reply to Greg Kroah-HartmanQuoted 8 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses.
Update the
drivers/usb/andinclude/linux/usb*files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text.
Quoted 7 lines
This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>
Signature · 1 line
balbi
Greg Kroah-Hartman
maintainerRe: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/
Quoted 13 lines · Felipe Balbi
Quoted 11 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses.
Update the
drivers/usb/andinclude/linux/usb*files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text.This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
Quoted 6 lines
Quoted 4 lines
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>Acked-by Felipe Balbi <[email protected]>
Wonderful, thanks for the ack.
greg k-h
Re: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/
In reply to Greg Kroah-HartmanQuoted 8 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses.
Update the
drivers/usb/andinclude/linux/usb*files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text.
Quoted 7 lines
This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>
For USB serial:
I noticed several MODULE_LICENSE macros which did not match the headers (e.g. "GPL" being used for version 2 only modules) for which I'll send a follow-up patch.
Someone should probably write a script for that once the SPDX identifiers are in.
Johan
Greg Kroah-Hartman
maintainerRe: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/
Quoted 12 lines · Johan Hovold
Quoted 11 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses.
Update the
drivers/usb/andinclude/linux/usb*files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text.This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
Quoted 8 lines
Quoted 4 lines
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>For USB serial:
Acked-by Johan Hovold <[email protected]>
Great, thanks for the ack.
Quoted 6 lines
I noticed several
MODULE_LICENSEmacros which did not match the headers (e.g. "GPL" being used for version 2 only modules) for which I'll send a follow-up patch.Someone should probably write a script for that once the SPDX identifiers are in.
Yes, I think that someone might have a script for that, it will be much easier to detect these things now. The issue is that the "v2" marking came after the original "GPL" marking for MODULE_LICENSE() from what I remember, so many of those will be wrong.
thanks,
greg k-h
Re: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/
Quoted 22 lines · Greg Kroah-Hartman
Quoted 21 lines · Johan Hovold
Quoted 8 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses.
Update the
drivers/usb/andinclude/linux/usb*files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text.Quoted 7 lines
This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>I noticed several
MODULE_LICENSEmacros which did not match the headers (e.g. "GPL" being used for version 2 only modules) for which I'll send a follow-up patch.
Quoted 7 lines
Quoted 2 lines
Someone should probably write a script for that once the SPDX identifiers are in.
Yes, I think that someone might have a script for that, it will be much easier to detect these things now. The issue is that the "v2" marking came after the original "GPL" marking for
MODULE_LICENSE()from what I remember, so many of those will be wrong.
If this can help my [1] tool can detect both header-level licenses-in-comments as well as MODULE_LICENSE macros. Based on that we could reasonably easily craft a script that scans a file and report discrepancies between the two.
FWIW this is the same tool that has been used to provide some input to Greg to clean things up here.
[1] https://github.com/nexB/scancode-toolkit
Signature · 2 lines
Cordially Philippe Ombredanne
Greg Kroah-Hartman
maintainerRe: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/
Quoted 32 lines · Philippe Ombredanne
Quoted 22 lines · Greg Kroah-Hartman
Quoted 21 lines · Johan Hovold
Quoted 8 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses.
Update the
drivers/usb/andinclude/linux/usb*files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text.Quoted 7 lines
This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>I noticed several
MODULE_LICENSEmacros which did not match the headers (e.g. "GPL" being used for version 2 only modules) for which I'll send a follow-up patch.Quoted 7 lines
Quoted 2 lines
Someone should probably write a script for that once the SPDX identifiers are in.
Yes, I think that someone might have a script for that, it will be much easier to detect these things now. The issue is that the "v2" marking came after the original "GPL" marking for
MODULE_LICENSE()from what I remember, so many of those will be wrong.
Quoted 4 lines
If this can help my [1] tool can detect both header-level licenses-in-comments as well as
MODULE_LICENSEmacros. Based on that we could reasonably easily craft a script that scans a file and report discrepancies between the two.
That would be great, as there are going to be a lot of these showing up soon, as we start adding the SPDX identifiers to the files based on the license text and the mis-matches become obvious.
thanks,
greg k-h
Re: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/
Quoted 33 lines · Greg Kroah-Hartman
Quoted 32 lines · Philippe Ombredanne
Quoted 29 lines · Greg Kroah-Hartman
Quoted 17 lines · Johan Hovold
Quoted 8 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses.
Update the
drivers/usb/andinclude/linux/usb*files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text.Quoted 7 lines
This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>Quoted 6 lines
I noticed several
MODULE_LICENSEmacros which did not match the headers (e.g. "GPL" being used for version 2 only modules) for which I'll send a follow-up patch.Someone should probably write a script for that once the SPDX identifiers are in.
Yes, I think that someone might have a script for that, it will be much easier to detect these things now. The issue is that the "v2" marking came after the original "GPL" marking for
MODULE_LICENSE()from what I remember, so many of those will be wrong.
Quoted 8 lines
Quoted 4 lines
If this can help my [1] tool can detect both header-level licenses-in-comments as well as
MODULE_LICENSEmacros. Based on that we could reasonably easily craft a script that scans a file and report discrepancies between the two.That would be great, as there are going to be a lot of these showing up soon, as we start adding the SPDX identifiers to the files based on the license text and the mis-matches become obvious.
I can run a scancode scan to list modules with a license that does not match their MODULE_LICENSE (irrespective of whether they have an SPDX id already or not)
I can then either provide a CSV (or provide an eventually big patch). Which do you prefer?
What should be the tree to run this on: Yours? usb? Linus's? tip of the tree or a tag?
If you prefer a patch, what should be the rationale when licenses do not match? I guess update the MODULE_LICENSE to match the license comment?
Signature · 2 lines
Cordially Philippe Ombredanne
Greg Kroah-Hartman
maintainerRe: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/
Quoted 44 lines · Philippe Ombredanne
Quoted 33 lines · Greg Kroah-Hartman
Quoted 32 lines · Philippe Ombredanne
Quoted 29 lines · Greg Kroah-Hartman
Quoted 17 lines · Johan Hovold
Quoted 8 lines · Greg Kroah-Hartman
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses.
Update the
drivers/usb/andinclude/linux/usb*files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text.Quoted 7 lines
This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>Quoted 6 lines
I noticed several
MODULE_LICENSEmacros which did not match the headers (e.g. "GPL" being used for version 2 only modules) for which I'll send a follow-up patch.Someone should probably write a script for that once the SPDX identifiers are in.
Yes, I think that someone might have a script for that, it will be much easier to detect these things now. The issue is that the "v2" marking came after the original "GPL" marking for
MODULE_LICENSE()from what I remember, so many of those will be wrong.Quoted 8 lines
Quoted 4 lines
If this can help my [1] tool can detect both header-level licenses-in-comments as well as
MODULE_LICENSEmacros. Based on that we could reasonably easily craft a script that scans a file and report discrepancies between the two.That would be great, as there are going to be a lot of these showing up soon, as we start adding the SPDX identifiers to the files based on the license text and the mis-matches become obvious.
Quoted 7 lines
I can run a scancode scan to list modules with a license that does not match their
MODULE_LICENSE(irrespective of whether they have an SPDX id already or not)
I can then either provide a CSV (or provide an eventually big patch). Which do you prefer?
What should be the tree to run this on: Yours? usb? Linus's? tip of the tree or a tag?
To start with, let's work on getting the drivers/usb/ portion of the tree cleaned up, as that's a nice "simple" area of the kernel to work with.
Use the usb-next branch of the usb.git tree on git.kernel.org:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/
Quoted 2 lines
If you prefer a patch, what should be the rationale when licenses do not match? I guess update the
MODULE_LICENSEto match the license comment?
Yes, the MODULE_LICENSE should be updated to match the license comment, unless something is really "odd", and if so, we can look at the exceptions "by hand".
Look at the patch by Johan in my tree that fixed this all up for drivers/usb/serial/ as an example of what a good changelog text would be.
thanks,
greg k-h
Re: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/
In reply to Greg Kroah-HartmanHi!
Quoted 15 lines
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses.
Update the
drivers/usb/andinclude/linux/usb*files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text.This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>
Quoted 7 lines
---
v2: Use the "standard" format of putting the identifier at the top of
the file, and use // for .c and .h files.
Removed the files already marked in Linus's tree.Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.
as you said in some other email... this stands out a bit too much. What about using normal c comments, and put it near the original license text? It is not exactly the most important thing...
Or maybe near the MODULE_LICENSE, so the two don't get out of sync?
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Greg Kroah-Hartman
maintainerRe: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/
Quoted 22 lines · Pavel Machek
Hi!
Quoted 20 lines
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses.
Update the
drivers/usb/andinclude/linux/usb*files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text.This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
v2: Use the "standard" format of putting the identifier at the top of
the file, and use // for .c and .h files.
Removed the files already marked in Linus's tree.
Quoted 5 lines
Quoted 2 lines
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.
as you said in some other email... this stands out a bit too much.
That is the goal, sorry.
Quoted 4 lines
What about using normal c comments, and put it near the original license text? It is not exactly the most important thing...
Or maybe near the
MODULE_LICENSE, so the two don't get out of sync?
No, the top of the file is best, thanks.
And once we get the MODULE_LICENSE in sync with the actual license of the file (there are tools being written to catch these issues, of which we have a lot in the current tree), neither should really change any over time.
thanks,
greg k-h
Re: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/
Quoted 23 lines · Greg Kroah-Hartman
Quoted 22 lines · Pavel Machek
Hi!
Quoted 20 lines
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses.
Update the
drivers/usb/andinclude/linux/usb*files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text.This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart.
Cc Thomas Gleixner <[email protected]>Cc Kate Stewart <[email protected]>Cc Philippe Ombredanne <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
v2: Use the "standard" format of putting the identifier at the top of
the file, and use // for .c and .h files.
Removed the files already marked in Linus's tree.
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Unless someone really complains, I'm going to add this to my tree for 4.15-rc1.
as you said in some other email... this stands out a bit too much.
That is the goal, sorry.
Then it is bad goal.
Automated tools can pick it up whereever it is. No need to grab attention with poor placing.
Quoted 6 lines
Quoted 4 lines
What about using normal c comments, and put it near the original license text? It is not exactly the most important thing...
Or maybe near the
MODULE_LICENSE, so the two don't get out of sync?No, the top of the file is best, thanks.
No, it is not, thanks.
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html