* [PATCH v2 1/1] usb: xhci: dbc: Add SPDX identifiers to dbc files
@ 2017-12-23 7:52 Lu Baolu
2017-12-23 14:14 ` Philippe Ombredanne
0 siblings, 1 reply; 2+ messages in thread
From: Lu Baolu @ 2017-12-23 7:52 UTC (permalink / raw)
To: Mathias Nyman, Greg Kroah-Hartman
Cc: linux-usb, linux-kernel, Lu Baolu, Philippe Ombredanne
Update the xhci dbc files with the correct SPDX license identifiers.
Fixes: dfba2174dc42 ("usb: xhci: Add DbC support in xHCI driver")
Cc: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
---
changes from v1:
* Use plain C style comments in header file.
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(-)
diff --git a/drivers/usb/host/xhci-dbgcap.c b/drivers/usb/host/xhci-dbgcap.c
index 452df0f..beea567 100644
--- a/drivers/usb/host/xhci-dbgcap.c
+++ b/drivers/usb/host/xhci-dbgcap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/**
* xhci-dbgcap.c - xHCI debug capability support
*
diff --git a/drivers/usb/host/xhci-dbgcap.h b/drivers/usb/host/xhci-dbgcap.h
index e66ea07..ce0c607 100644
--- a/drivers/usb/host/xhci-dbgcap.h
+++ b/drivers/usb/host/xhci-dbgcap.h
@@ -1,4 +1,4 @@
-
+/* SPDX-License-Identifier: GPL-2.0 */
/**
* xhci-dbgcap.h - xHCI debug capability support
*
diff --git a/drivers/usb/host/xhci-dbgtty.c b/drivers/usb/host/xhci-dbgtty.c
index 8d47b6f..033cc0e 100644
--- a/drivers/usb/host/xhci-dbgtty.c
+++ b/drivers/usb/host/xhci-dbgtty.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/**
* xhci-dbgtty.c - tty glue for xHCI debug capability
*
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH v2 1/1] usb: xhci: dbc: Add SPDX identifiers to dbc files
2017-12-23 7:52 [PATCH v2 1/1] usb: xhci: dbc: Add SPDX identifiers to dbc files Lu Baolu
@ 2017-12-23 14:14 ` Philippe Ombredanne
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Ombredanne @ 2017-12-23 14:14 UTC (permalink / raw)
To: Lu Baolu; +Cc: Mathias Nyman, Greg Kroah-Hartman, linux-usb, LKML
On Sat, Dec 23, 2017 at 8:52 AM, Lu Baolu <baolu.lu@linux.intel.com> wrote:
> Update the xhci dbc files with the correct SPDX license identifiers.
>
> Fixes: dfba2174dc42 ("usb: xhci: Add DbC support in xHCI driver")
> Cc: Philippe Ombredanne <pombredanne@nexb.com>
> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
> ---
> changes from v1:
> * Use plain C style comments in header file.
>
> 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(-)
>
> diff --git a/drivers/usb/host/xhci-dbgcap.c b/drivers/usb/host/xhci-dbgcap.c
> index 452df0f..beea567 100644
> --- a/drivers/usb/host/xhci-dbgcap.c
> +++ b/drivers/usb/host/xhci-dbgcap.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
> /**
> * xhci-dbgcap.c - xHCI debug capability support
> *
> diff --git a/drivers/usb/host/xhci-dbgcap.h b/drivers/usb/host/xhci-dbgcap.h
> index e66ea07..ce0c607 100644
> --- a/drivers/usb/host/xhci-dbgcap.h
> +++ b/drivers/usb/host/xhci-dbgcap.h
> @@ -1,4 +1,4 @@
> -
> +/* SPDX-License-Identifier: GPL-2.0 */
> /**
> * xhci-dbgcap.h - xHCI debug capability support
> *
> diff --git a/drivers/usb/host/xhci-dbgtty.c b/drivers/usb/host/xhci-dbgtty.c
> index 8d47b6f..033cc0e 100644
> --- a/drivers/usb/host/xhci-dbgtty.c
> +++ b/drivers/usb/host/xhci-dbgtty.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
> /**
> * xhci-dbgtty.c - tty glue for xHCI debug capability
> *
> --
> 2.7.4
>
Thank you!
Reviewed-by: Philippe Ombredanne <pombredanne@nexB.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-23 14:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-23 7:52 [PATCH v2 1/1] usb: xhci: dbc: Add SPDX identifiers to dbc files Lu Baolu
2017-12-23 14:14 ` Philippe Ombredanne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®