Skip to contentSkip to conversation

Staging: rtl8192e: Replace license text with SPDX identifier

PATCH Superseded Bhanusree Pola 2 participants 2 messages Feb 20, 2019 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Staging: rtl8192e: Replace license text with SPDX identifier

- adds the SPDX GPL-2.0 license identifier which solves the checkpatch.pl warning
- Removed license boilerplate text
- Issue found with checkpatch.pl warning:
"WARNING: Missing or malformed SPDX-License-Identifier tag in line 1"

---
 drivers/staging/rtl8192e/dot11d.h | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)
drivers/staging/rtl8192e/dot11d.h +3 -14
index 0637de1cca47..44f11f629922 100644
@@ -1,17 +1,6 @@
-/******************************************************************************
- * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>
- ******************************************************************************/
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. */
+
 #ifndef __INC_DOT11D_H
 #define __INC_DOT11D_H
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 18 lines · Bhanusree Pola

- adds the SPDX GPL-2.0 license identifier which solves the checkpatch.pl warning
- Removed license boilerplate text
- Issue found with checkpatch.pl warning:
"WARNING: Missing or malformed SPDX-License-Identifier tag in line 1"

---
 drivers/staging/rtl8192e/dot11d.h | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)
drivers/staging/rtl8192e/dot11d.h +0 -3
index 0637de1cca47..44f11f629922 100644
@@ -1,17 +1,6 @@
-/******************************************************************************
- * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
- *

drivers/staging/rtl8192e/dot11d.h line 13

Quoted 10 lines
drivers/staging/rtl8192e/dot11d.h +0 -10
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called LICENSE.
- *
- * Contact Information:
- * wlanfae <[email protected]>

You dropped these two lines for no good reason :(

Please keep them in your next revision, it is good to have this in the file as you know who to contact.

thanks,

greg k-h