Skip to contentSkip to conversation

crypto: cavium/nitrox - Use the correct style for SPDX License Identifier

PATCH In review Nishad Kamdar 2 participants 2 messages Jun 5, 2019 – Jun 13, 2019 Crypto API

lore
Share & tools
lore
#0 lore raw

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

This patch corrects the SPDX License Identifier style in header files related to Crypto Drivers for Cavium Nitrox family CNN55XX devices.
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/cavium/nitrox/nitrox_debugfs.h | 2 +-
 drivers/crypto/cavium/nitrox/nitrox_mbx.h     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/crypto/cavium/nitrox/nitrox_debugfs.h +1 -1
index f177b79bbab0..09c4cf2513fb 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __NITROX_DEBUGFS_H
 #define __NITROX_DEBUGFS_H
 
drivers/crypto/cavium/nitrox/nitrox_mbx.h +1 -1
index 5008399775a9..7c93d0282174 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __NITROX_MBX_H
 #define __NITROX_MBX_H
 
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 10 lines · Nishad Kamdar

This patch corrects the SPDX License Identifier style in header files related to Crypto Drivers for Cavium Nitrox family CNN55XX devices.
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

Quoted 6 lines
---
 drivers/crypto/cavium/nitrox/nitrox_debugfs.h | 2 +-
 drivers/crypto/cavium/nitrox/nitrox_mbx.h     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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