[PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
Carlos Henrique Lima Melara
charlesmelara at outlook.com
Wed Jan 30 14:48:27 UTC 2019
This patch fix the checkpatch.p1 warning:
WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
+/*
It includes the SPDX expression for GPL-2.0 and corrects the comment format to suit the kernel's coding style.
Signed-off-by: Carlos (Charles) Henrique Lima Melara <charlesmelara at outlook.com>
---
drivers/staging/mt7621-eth/ethtool.c | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c
index 40a7d47be913..49d417de64c8 100644
--- a/drivers/staging/mt7621-eth/ethtool.c
+++ b/drivers/staging/mt7621-eth/ethtool.c
@@ -1,15 +1,17 @@
-/* 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
+// 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
*
- * 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.
+ * 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.
*
- * Copyright (C) 2009-2016 John Crispin <blogic at openwrt.org>
- * Copyright (C) 2009-2016 Felix Fietkau <nbd at openwrt.org>
- * Copyright (C) 2013-2016 Michael Lee <igvtee at gmail.com>
+ * Copyright (C) 2009-2016 John Crispin <blogic at openwrt.org>
+ * Copyright (C) 2009-2016 Felix Fietkau <nbd at openwrt.org>
+ * Copyright (C) 2013-2016 Michael Lee <igvtee at gmail.com>
*/
#include "mtk_eth_soc.h"
--
2.20.1
More information about the devel
mailing list