Skip to contentSkip to conversation

net: cavium: Use the correct style for SPDX License Identifier

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

Subsystems (2)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

This patch corrects the SPDX License Identifier style in header files related to Cavium Ethernet 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/net/ethernet/cavium/common/cavium_ptp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/cavium/common/cavium_ptp.h +1 -1
index be2bafc7beeb..a04eccbc78e8 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /* cavium_ptp.h - PTP 1588 clock on Cavium hardware
  * Copyright (c) 2003-2015, 2017 Cavium, Inc.
  */
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw

From: Nishad Kamdar <[email protected]>
Date: Sat, 12 Oct 2019 18:42:28 +0530

Quoted 11 lines

This patch corrects the SPDX License Identifier style in header files related to Cavium Ethernet 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.

Applied.