Skip to contentSkip to conversation

misc: Use the correct style for SPDX License Identifier

PATCH New Nishad Kamdar 1 participant 1 message Sep 20, 2019

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

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

This patch corrects the SPDX License Identifier style in header files for Miscellaneous 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/hpilo.h  | 2 +-
 drivers/misc/ibmvmc.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/misc/hpilo.h +1 -1
index 94dfb9e40e29..1aa433a7f66c 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * linux/drivers/char/hpilo.h
  *
drivers/misc/ibmvmc.h +2 -2
index e140ada8fe2c..0e1756fffeae 100644
@@ -1,5 +1,5 @@
-/* SPDX-License-Identifier: GPL-2.0+
- *
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
  * linux/drivers/misc/ibmvmc.h
  *
  * IBM Power Systems Virtual Management Channel Support.
Signature · 1 line
2.17.1