Skip to contentSkip to conversation

staging: octeon: Add the license identifier

PATCH New Muhammad Usama Anjum 1 participant 1 message Jul 23, 2020 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 staging: octeon: Add the license identifier

This patch fixes the checkpatch.pl warning:
WARNING: Missing or malformed SPDX-License-Identifier tag

Add a the SPDX-License-Identifier tag on line 1

Other files in this folder have GPL-2.0 license. So this file should have the same license which was missing before and checkpatch.pl was giving the warning.

---
Changes in v3:
- Removed an empty line which I had added in v1
- Updated the commit message to include why this patch is needed

 drivers/staging/octeon/octeon-stubs.h | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/octeon/octeon-stubs.h +1 -0
index d06743504f2b..3f8e5713b8a8 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #define CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE	512
 
 #ifndef XKPHYS_TO_PHYS
Signature · 1 line
2.17.1