2020-01-04 14:18:53

by Nishad Kamdar

[permalink] [raw]
Subject: [PATCH] slimbus: Use the correct style for SPDX License Identifier

This patch corrects the SPDX License Identifier style in
header file related to SLIMbus driver.
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 <[email protected]>
Signed-off-by: Nishad Kamdar <[email protected]>
---
drivers/slimbus/slimbus.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/slimbus/slimbus.h b/drivers/slimbus/slimbus.h
index b2f013bfe42e..c73035915f1d 100644
--- a/drivers/slimbus/slimbus.h
+++ b/drivers/slimbus/slimbus.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2011-2017, The Linux Foundation
*/
--
2.17.1


2020-01-06 14:03:01

by Srinivas Kandagatla

[permalink] [raw]
Subject: Re: [PATCH] slimbus: Use the correct style for SPDX License Identifier



On 04/01/2020 14:14, Nishad Kamdar wrote:
> This patch corrects the SPDX License Identifier style in
> header file related to SLIMbus driver.
> 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 <[email protected]>
> Signed-off-by: Nishad Kamdar <[email protected]>
> ---
> drivers/slimbus/slimbus.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Applied thanks,

--srini