Skip to contentSkip to conversation

staging: netlogic: Fixed comments to include SPDX-License-Identifier

PATCH In review Michael Anckaert 2 participants 2 messages Aug 11, 2018 – Aug 27, 2018 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: netlogic: Fixed comments to include SPDX-License-Identifier

This patch fixes some issues with missing SPDX-License-Identifier comments.

---

Changes in v2:
- Removed unrelated change to different patch.

 drivers/staging/netlogic/platform_net.c | 1 +
 drivers/staging/netlogic/platform_net.h | 1 +
 drivers/staging/netlogic/xlr_net.c      | 1 +
 drivers/staging/netlogic/xlr_net.h      | 1 +
 4 files changed, 4 insertions(+)
drivers/staging/netlogic/platform_net.c +1 -0
index abf4c71ee66b..3886c99c1f68 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2003-2012 Broadcom Corporation
  * All Rights Reserved
drivers/staging/netlogic/platform_net.h +1 -0
index e1b27f649590..1d994f0d0995 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2003-2012 Broadcom Corporation
  * All Rights Reserved
drivers/staging/netlogic/xlr_net.c +1 -0
index e461168313bf..201db10692de 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2003-2012 Broadcom Corporation
  * All Rights Reserved
drivers/staging/netlogic/xlr_net.h +1 -0
index f76e16cfd15d..de51d64c1f23 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2003-2012 Broadcom Corporation
  * All Rights Reserved
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 1 line · Michael Anckaert

This patch fixes some issues with missing SPDX-License-Identifier comments.

Never add SPDX identifiers unless you REALLY know what you are doing. It is VERY dangerous to add incorrect identifiers, which is what you did here :(

Not good.

greg k-h