Skip to contentSkip to conversation

dmaengine: imx-sdma: Switch to SPDX identifier

PATCH New Vinod Koul 1 participant 1 message May 22, 2018 dmaengine

lore
Share & tools
lore

Vinod Koul

author
#0 lore raw

PATCH 1/3 dmaengine: imx-sdma: Switch to SPDX identifier

Quoted 34 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Adopt the SPDX license identifier headers to ease license compliance management.

---
 drivers/dma/imx-sdma.c | 29 +++++++++++------------------
 1 file changed, 11 insertions(+), 18 deletions(-)
drivers/dma/imx-sdma.c +1 -18
index ccd03c3..f0779926 100644
@@ -1,21 +1,14 @@
-/*
- * drivers/dma/imx-sdma.c
- *
- * This file contains a driver for the Freescale Smart DMA engine
- *
- * Copyright 2010 Sascha Hauer, Pengutronix <[email protected]>
- *
- * Based on code from Freescale:
- *
- * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved.
- *
- * The code contained herein is licensed under the GNU General Public
- * License. You may obtain a copy of the GNU General Public License
- * Version 2 or later at the following locations:
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
- */
+// SPDX-License-Identifier: GPL-2.0+

drivers/dma/imx-sdma.c line 11

Quoted 10 lines
drivers/dma/imx-sdma.c +10 -0
+//
+// drivers/dma/imx-sdma.c
+//
+// This file contains a driver for the Freescale Smart DMA engine
+//
+// Copyright 2010 Sascha Hauer, Pengutronix <[email protected]>
+//
+// Based on code from Freescale:
+//
+// Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved.

Are you sure putting everything thru c99 style is apt. I have been told that we should:

// SPDX-License-Identifier: GPL-2.0+
// Copyright 2010 Sascha Hauer, Pengutronix <[email protected]>

/*
* rest of the comments you would like
*/

essentially SPDX tag and copyright should be c99 so that tools can parse, rest information can be in regular linux comment style