Skip to contentSkip to conversation

dmaengine: rcar-dmac: convert to SPDX identifiers

DISCUSSION Vinod Koul 1 participant 1 message Jul 3, 2018 dmaengine

lore
Share & tools
lore

Vinod Koul

author maintainer
#0 lore raw
Quoted 40 lines · Laurent Pinchart

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

Quoted 8 lines

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

And Linus said this https://lkml.org/lkml/2017/11/25/133

So lets keep C99 style as Morimoto-San proposed.

And high time, this should be documented :)