Skip to contentSkip to conversation

ocxl: Use the correct style for SPDX License Identifier

PATCH In review Nishad Kamdar 2 participants 2 messages Sep 20, 2019 – Sep 21, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ocxl: Use the correct style for SPDX License Identifier

This patch corrects the SPDX License Identifier style
in header files for Open Coherent Accelerator (OCXL) compatible device drivers. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used)

Changes made by using a script provided by Joe Perches here:
https://lkml.org/lkml/2019/2/7/46.

---
 drivers/misc/ocxl/ocxl_internal.h | 2 +-
 drivers/misc/ocxl/trace.h         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/misc/ocxl/ocxl_internal.h +1 -1
index 97415afd79f3..345bf843a38e 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 // Copyright 2017 IBM Corp.
 #ifndef _OCXL_INTERNAL_H_
 #define _OCXL_INTERNAL_H_
drivers/misc/ocxl/trace.h +1 -1
index 024f417e7e01..17e21cb2addd 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 // Copyright 2017 IBM Corp.
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM ocxl
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Nishad Kamdar

This patch corrects the SPDX License Identifier style
in header files for Open Coherent Accelerator (OCXL) compatible device drivers. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used)

Changes made by using a script provided by Joe Perches here:
https://lkml.org/lkml/2019/2/7/46.

Thanks.

Quoted 26 lines
---
  drivers/misc/ocxl/ocxl_internal.h | 2 +-
  drivers/misc/ocxl/trace.h         | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
drivers/misc/ocxl/ocxl_internal.h +1 -1
index 97415afd79f3..345bf843a38e 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
  // Copyright 2017 IBM Corp.
  #ifndef _OCXL_INTERNAL_H_
  #define _OCXL_INTERNAL_H_
drivers/misc/ocxl/trace.h +1 -1
index 024f417e7e01..17e21cb2addd 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
  // Copyright 2017 IBM Corp.
  #undef TRACE_SYSTEM
  #define TRACE_SYSTEM ocxl
Signature · 2 lines
Andrew Donnellan              OzLabs, ADL Canberra
[email protected]             IBM Australia Limited