Skip to contentSkip to conversation

dmaengine: rcar-dmac: convert to SPDX identifiers

DISCUSSION Laurent Pinchart 1 participant 1 message Jul 3, 2018 dmaengine

lore
Share & tools
lore

Laurent Pinchart

author Reviewed-by
#0 lore raw

Hi Morimoto-san,

Thank you for the patch.

Quoted 1 line · On Tuesday, 3 July 2018 03:29:59 EEST Kuninori Morimoto wrote:

From: Kuninori Morimoto <[email protected]>

A commit message would be nice :-)

Quoted 18 lines
---
 drivers/dma/sh/rcar-dmac.c | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)
drivers/dma/sh/rcar-dmac.c +0 -8
index 79d14af..322e57b 100644
@@ -1,14 +1,10 @@
-/*
- * Renesas R-Car Gen2 DMA Controller Driver
- *
- * Copyright (C) 2014 Renesas Electronics Inc.
- *
- * Author: Laurent Pinchart <[email protected]>
- *
- * This is free software; you can redistribute it and/or modify

drivers/dma/sh/rcar-dmac.c line 7

Quoted 10 lines
drivers/dma/sh/rcar-dmac.c +7 -3
- * it under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- */
+// SPDX-License-Identifier: GPL-2.0
+//
+// Renesas R-Car Gen2 DMA Controller Driver
+//
+// Copyright (C) 2014 Renesas Electronics Inc.
+//
+// Author: Laurent Pinchart <[email protected]>

I think the preferred comment style, accordingly to what other drivers do, is

// SPDX-License-Identifier: GPL-2.0
/*
* Renesas R-Car Gen2 DMA Controller Driver
*
* Copyright (C) 2014 Renesas Electronics Inc.
*
* Author: Laurent Pinchart <[email protected]> */

Apart from that,

Quoted 2 lines
drivers/dma/sh/rcar-dmac.c +0 -0
 #include <linux/delay.h>
 #include <linux/dma-mapping.h>
Signature · 3 lines
Regards,

Laurent Pinchart