All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
@ 2019-01-30 14:48 ` Carlos Henrique Lima Melara
  0 siblings, 0 replies; 14+ messages in thread
From: Carlos Henrique Lima Melara @ 2019-01-30 14:48 UTC (permalink / raw)
  To: gregkh@linuxfoundation.org, matthias.bgg@gmail.com
  Cc: neil@brown.name, devel@driverdev.osuosl.org,
	linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org

	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@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@openwrt.org>
- *   Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
- *   Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
+ * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
+ * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
+ * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
  */
 
 #include "mtk_eth_soc.h"
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-01-30 21:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-30 14:48 [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier Carlos Henrique Lima Melara
2019-01-30 14:48 ` Carlos Henrique Lima Melara
2019-01-30 15:29 ` gregkh
2019-01-30 15:29   ` gregkh
2019-01-30 20:01   ` Carlos Henrique Lima Melara
2019-01-30 20:01     ` Carlos Henrique Lima Melara
2019-01-30 21:12     ` gregkh
2019-01-30 21:12       ` gregkh
2019-01-30 16:38 ` Andrew Lunn
2019-01-30 16:38   ` Andrew Lunn
2019-01-30 18:10   ` gregkh
2019-01-30 18:10     ` gregkh
2019-01-30 18:48     ` Andrew Lunn
2019-01-30 18:48       ` Andrew Lunn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.