diff mbox series

[v3] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier

Message ID RO1P15201MB20122B62C6B87E3B1E3AFF0AA8900@RO1P15201MB2012.LAMP152.PROD.OUTLOOK.COM (mailing list archive)
State New, archived
Headers show
Series [v3] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier | expand

Commit Message

Carlos Henrique Lima Melara Jan. 30, 2019, 8:39 p.m. UTC
This patch fixes the checkpatch.p1 warning:

WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
+/*

It includes the SPDX expression for GPL-2.0 according to the text license
in the top of the C file.

Signed-off-by: Carlos Henrique Lima Melara <charlesmelara@outlook.com>
---
Changes since v2:
 - Corrects patch changelog
 - Removes changes in the copyrigth comment

Changes since v1:
 - Corrects the alingment of patch description
 - Cc to public mailing lists
---
 drivers/staging/mt7621-eth/ethtool.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c
index 40a7d47be913..8c4228e2c987 100644
--- a/drivers/staging/mt7621-eth/ethtool.c
+++ b/drivers/staging/mt7621-eth/ethtool.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0
 /*   This program is free software; you can redistribute it and/or modify
  *   it under the terms of the GNU General Public License as published by
  *   the Free Software Foundation; version 2 of the License