* [PATCH] net: dsa: microchip: Use the correct style for SPDX License Identifier
@ 2019-10-12 12:18 Nishad Kamdar
2019-10-15 22:00 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Nishad Kamdar @ 2019-10-12 12:18 UTC (permalink / raw)
To: Woojung Huh, Microchip Linux Driver Support, Andrew Lunn,
Vivien Didelot, Florian Fainelli, David S. Miller,
Greg Kroah-Hartman, Joe Perches, Uwe Kleine-König
Cc: netdev, linux-kernel
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.
Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
---
drivers/net/dsa/microchip/ksz9477_reg.h | 4 ++--
drivers/net/dsa/microchip/ksz_common.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/dsa/microchip/ksz9477_reg.h b/drivers/net/dsa/microchip/ksz9477_reg.h
index 2938e892b631..16939f29faa5 100644
--- a/drivers/net/dsa/microchip/ksz9477_reg.h
+++ b/drivers/net/dsa/microchip/ksz9477_reg.h
@@ -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.
diff --git a/drivers/net/dsa/microchip/ksz_common.h b/drivers/net/dsa/microchip/ksz_common.h
index dd60d0837fc6..64c2677693d2 100644
--- a/drivers/net/dsa/microchip/ksz_common.h
+++ b/drivers/net/dsa/microchip/ksz_common.h
@@ -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.
*/
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: dsa: microchip: Use the correct style for SPDX License Identifier
2019-10-12 12:18 [PATCH] net: dsa: microchip: Use the correct style for SPDX License Identifier Nishad Kamdar
@ 2019-10-15 22:00 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-10-15 22:00 UTC (permalink / raw)
To: nishadkamdar
Cc: woojung.huh, UNGLinuxDriver, andrew, vivien.didelot, f.fainelli,
gregkh, joe, u.kleine-koenig, netdev, linux-kernel
From: Nishad Kamdar <nishadkamdar@gmail.com>
Date: Sat, 12 Oct 2019 17:48:56 +0530
> 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.
>
> Suggested-by: Joe Perches <joe@perches.com>
> Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-15 22:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-12 12:18 [PATCH] net: dsa: microchip: Use the correct style for SPDX License Identifier Nishad Kamdar
2019-10-15 22:00 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).