Skip to contentSkip to conversation

crypto: hisilicon - Use the correct style for SPDX License Identifier

PATCH In review Nishad Kamdar 3 participants 3 messages Jun 6, 2019 – Jun 13, 2019 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: hisilicon - Use the correct style for SPDX License Identifier

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

---
 drivers/crypto/hisilicon/sec/sec_drv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/hisilicon/sec/sec_drv.h +1 -1
index 2d2f186674ba..4d9063a8b10b 100644
@@ -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_
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · On Thu, 6 Jun 2019 20:36:17 +0530 Nishad Kamdar <[email protected]> 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)

Quoted 5 lines

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

Quoted 14 lines
---
 drivers/crypto/hisilicon/sec/sec_drv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/hisilicon/sec/sec_drv.h +1 -1
index 2d2f186674ba..4d9063a8b10b 100644
@@ -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_
maintainer
#2 lore raw
In reply to Nishad Kamdar
Quoted 7 lines · Nishad Kamdar

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)

Quoted 8 lines

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

---
 drivers/crypto/hisilicon/sec/sec_drv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt