linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] crypto: hisilicon - Use the correct style for SPDX License Identifier
@ 2019-06-06 15:06 Nishad Kamdar
  2019-06-06 15:22 ` Jonathan Cameron
  2019-06-13  6:57 ` Herbert Xu
  0 siblings, 2 replies; 3+ messages in thread
From: Nishad Kamdar @ 2019-06-06 15:06 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller
  Cc: Greg Kroah-Hartman, Joe Perches, Uwe Kleine-König,
	linux-crypto, linux-kernel

This patch corrects the SPDX License Identifier style
in header file related to Crypto Drivers for Hisilicon
SEC Engine in Hip06 and Hip07.
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/crypto/hisilicon/sec/sec_drv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/hisilicon/sec/sec_drv.h b/drivers/crypto/hisilicon/sec/sec_drv.h
index 2d2f186674ba..4d9063a8b10b 100644
--- a/drivers/crypto/hisilicon/sec/sec_drv.h
+++ b/drivers/crypto/hisilicon/sec/sec_drv.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 /* Copyright (c) 2016-2017 Hisilicon Limited. */
 
 #ifndef _SEC_DRV_H_
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] crypto: hisilicon - Use the correct style for SPDX License Identifier
  2019-06-06 15:06 [PATCH] crypto: hisilicon - Use the correct style for SPDX License Identifier Nishad Kamdar
@ 2019-06-06 15:22 ` Jonathan Cameron
  2019-06-13  6:57 ` Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2019-06-06 15:22 UTC (permalink / raw)
  To: Nishad Kamdar
  Cc: Herbert Xu, David S. Miller, Greg Kroah-Hartman, Joe Perches,
	Uwe Kleine-König, linux-crypto, linux-kernel

On Thu, 6 Jun 2019 20:36:17 +0530
Nishad Kamdar <nishadkamdar@gmail.com> wrote:

> This patch corrects the SPDX License Identifier style
> in header file related to Crypto Drivers for Hisilicon
> SEC Engine in Hip06 and Hip07.
> 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>

Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

> ---
>  drivers/crypto/hisilicon/sec/sec_drv.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/crypto/hisilicon/sec/sec_drv.h b/drivers/crypto/hisilicon/sec/sec_drv.h
> index 2d2f186674ba..4d9063a8b10b 100644
> --- a/drivers/crypto/hisilicon/sec/sec_drv.h
> +++ b/drivers/crypto/hisilicon/sec/sec_drv.h
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0
> +/* SPDX-License-Identifier: GPL-2.0 */
>  /* Copyright (c) 2016-2017 Hisilicon Limited. */
>  
>  #ifndef _SEC_DRV_H_



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] crypto: hisilicon - Use the correct style for SPDX License Identifier
  2019-06-06 15:06 [PATCH] crypto: hisilicon - Use the correct style for SPDX License Identifier Nishad Kamdar
  2019-06-06 15:22 ` Jonathan Cameron
@ 2019-06-13  6:57 ` Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2019-06-13  6:57 UTC (permalink / raw)
  To: Nishad Kamdar
  Cc: David S. Miller, Greg Kroah-Hartman, Joe Perches,
	Uwe Kleine-König, linux-crypto, linux-kernel

On Thu, Jun 06, 2019 at 08:36:17PM +0530, Nishad Kamdar wrote:
> This patch corrects the SPDX License Identifier style
> in header file related to Crypto Drivers for Hisilicon
> SEC Engine in Hip06 and Hip07.
> 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/crypto/hisilicon/sec/sec_drv.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-13 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-06 15:06 [PATCH] crypto: hisilicon - Use the correct style for SPDX License Identifier Nishad Kamdar
2019-06-06 15:22 ` Jonathan Cameron
2019-06-13  6:57 ` Herbert Xu

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).