Skip to contentSkip to conversation

net: dsa: microchip: Use the correct style for SPDX License Identifier

PATCH Applied Nishad Kamdar 2 participants 2 messages Oct 12, 2019 – Oct 15, 2019

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

PATCH 1/1 net: dsa: microchip: Use the correct style for SPDX License Identifier

This patch corrects the SPDX License Identifier style in header files related to Distributed Switch Architecture drivers for Microchip KSZ series switch support. 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/net/dsa/microchip/ksz9477_reg.h | 4 ++--
 drivers/net/dsa/microchip/ksz_common.h  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/net/dsa/microchip/ksz9477_reg.h +2 -2
index 2938e892b631..16939f29faa5 100644
@@ -1,5 +1,5 @@
-/* SPDX-License-Identifier: GPL-2.0
- *
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
  * Microchip KSZ9477 register definitions
  *
  * Copyright (C) 2017-2018 Microchip Technology Inc.
drivers/net/dsa/microchip/ksz_common.h +2 -2
index dd60d0837fc6..64c2677693d2 100644
@@ -1,5 +1,5 @@
-/* SPDX-License-Identifier: GPL-2.0
- * Microchip switch driver common header
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Microchip switch driver common header
  *
  * Copyright (C) 2017-2019 Microchip Technology Inc.
  */
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw

From: Nishad Kamdar <[email protected]>
Date: Sat, 12 Oct 2019 17:48:56 +0530

Quoted 7 lines

This patch corrects the SPDX License Identifier style in header files related to Distributed Switch Architecture drivers for Microchip KSZ series switch support. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used)

Quoted 5 lines

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

Applied.