Skip to contentSkip to conversation

usb: xhci: dbc: Add SPDX identifiers to dbc files

PATCH Superseded Lu Baolu 2 participants 3 messages Dec 22, 2017 – Dec 23, 2017

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Lu Baolu

author
#0 lore raw

PATCH 1/1 usb: xhci: dbc: Add SPDX identifiers to dbc files

Update the xhci dbc files with the correct SPDX license identifiers.

Fixes dfba2174dc42 ("usb: xhci: Add DbC support in xHCI driver")
---
 drivers/usb/host/xhci-dbgcap.c | 1 +
 drivers/usb/host/xhci-dbgcap.h | 2 +-
 drivers/usb/host/xhci-dbgtty.c | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)
drivers/usb/host/xhci-dbgcap.c +1 -0
index 452df0f..beea567 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /**
  * xhci-dbgcap.c - xHCI debug capability support
  *
drivers/usb/host/xhci-dbgcap.h +1 -1
index e66ea07..6c8906d 100644
@@ -1,4 +1,4 @@
-
+// SPDX-License-Identifier: GPL-2.0
 /**
  * xhci-dbgcap.h - xHCI debug capability support
  *
drivers/usb/host/xhci-dbgtty.c +1 -0
index 8d47b6f..033cc0e 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /**
  * xhci-dbgtty.c - tty glue for xHCI debug capability
  *
#1 lore raw

Lu,

Quoted 24 lines · Lu Baolu

Update the xhci dbc files with the correct SPDX license identifiers.

Fixes dfba2174dc42 ("usb: xhci: Add DbC support in xHCI driver")
---
 drivers/usb/host/xhci-dbgcap.c | 1 +
 drivers/usb/host/xhci-dbgcap.h | 2 +-
 drivers/usb/host/xhci-dbgtty.c | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)
drivers/usb/host/xhci-dbgcap.c +1 -0
index 452df0f..beea567 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /**
  * xhci-dbgcap.c - xHCI debug capability support
  *
drivers/usb/host/xhci-dbgcap.h +0 -0
index e66ea07..6c8906d 100644

drivers/usb/host/xhci-dbgcap.h line 1

Quoted 2 lines
drivers/usb/host/xhci-dbgcap.h +1 -1
@@ -1,4 +1,4 @@
-
+// SPDX-License-Identifier: GPL-2.0

Headers should be using plain C style comments per Thomas documentation patches.

Quoted 14 lines
drivers/usb/host/xhci-dbgcap.h +1 -0
+/* SPDX-License-Identifier: GPL-2.0 */
 
 /**
  * xhci-dbgcap.h - xHCI debug capability support
  *
drivers/usb/host/xhci-dbgtty.c +1 -0
index 8d47b6f..033cc0e 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /**
  * xhci-dbgtty.c - tty glue for xHCI debug capability
  *
author
#2 lore raw

Hi,

Quoted 23 lines · Philippe Ombredanne

Lu,

Quoted 20 lines · Lu Baolu

Update the xhci dbc files with the correct SPDX license identifiers.

Fixes dfba2174dc42 ("usb: xhci: Add DbC support in xHCI driver")
---
 drivers/usb/host/xhci-dbgcap.c | 1 +
 drivers/usb/host/xhci-dbgcap.h | 2 +-
 drivers/usb/host/xhci-dbgtty.c | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)
drivers/usb/host/xhci-dbgcap.c +1 -0
index 452df0f..beea567 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /**
  * xhci-dbgcap.c - xHCI debug capability support
  *
drivers/usb/host/xhci-dbgcap.h +0 -0
Quoted 8 lines

drivers/usb/host/xhci-dbgcap.h line 1

Quoted 6 lines

index e66ea07..6c8906d 100644

drivers/usb/host/xhci-dbgcap.h +1 -1
@@ -1,4 +1,4 @@
-
+// SPDX-License-Identifier: GPL-2.0

Headers should be using plain C style comments per Thomas documentation patches.

Thanks. I will send a v2 for this.

Best regards,
Lu Baolu

Quoted 5 lines
Quoted 5 lines
drivers/usb/host/xhci-dbgcap.h +1 -0
+/* SPDX-License-Identifier: GPL-2.0 */
 /**
  * xhci-dbgcap.h - xHCI debug capability support
  *
drivers/usb/host/xhci-dbgtty.c +0 -0
Quoted 8 lines

drivers/usb/host/xhci-dbgtty.c line 4

Quoted 8 lines

index 8d47b6f..033cc0e 100644

drivers/usb/host/xhci-dbgtty.c +1 -0
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /**
  * xhci-dbgtty.c - tty glue for xHCI debug capability
  *

---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html