* [1/3] dmaengine: imx-sdma: Switch to SPDX identifier
@ 2018-05-22 2:53 Fabio Estevam
0 siblings, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2018-05-22 2:53 UTC (permalink / raw)
To: vkoul; +Cc: dmaengine, Fabio Estevam
From: Fabio Estevam <fabio.estevam@nxp.com>
Adopt the SPDX license identifier headers to ease license compliance
management.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
drivers/dma/imx-sdma.c | 29 +++++++++++------------------
1 file changed, 11 insertions(+), 18 deletions(-)
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index ccd03c3..f0779926 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -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 <s.hauer@pengutronix.de>
- *
- * 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
+//
+// This file contains a driver for the Freescale Smart DMA engine
+//
+// Copyright 2010 Sascha Hauer, Pengutronix <s.hauer@pengutronix.de>
+//
+// Based on code from Freescale:
+//
+// Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved.
#include <linux/init.h>
#include <linux/iopoll.h>
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [1/3] dmaengine: imx-sdma: Switch to SPDX identifier
@ 2018-05-22 3:36 Vinod Koul
0 siblings, 0 replies; 5+ messages in thread
From: Vinod Koul @ 2018-05-22 3:36 UTC (permalink / raw)
To: Fabio Estevam; +Cc: dmaengine, Fabio Estevam
On 21-05-18, 23:53, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
>
> Adopt the SPDX license identifier headers to ease license compliance
> management.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
> drivers/dma/imx-sdma.c | 29 +++++++++++------------------
> 1 file changed, 11 insertions(+), 18 deletions(-)
>
> diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
> index ccd03c3..f0779926 100644
> --- a/drivers/dma/imx-sdma.c
> +++ b/drivers/dma/imx-sdma.c
> @@ -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 <s.hauer@pengutronix.de>
> - *
> - * 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
> +//
> +// This file contains a driver for the Freescale Smart DMA engine
> +//
> +// Copyright 2010 Sascha Hauer, Pengutronix <s.hauer@pengutronix.de>
> +//
> +// 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 <s.hauer@pengutronix.de>
/*
* 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [1/3] dmaengine: imx-sdma: Switch to SPDX identifier
@ 2018-05-22 11:22 Fabio Estevam
0 siblings, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2018-05-22 11:22 UTC (permalink / raw)
To: Vinod Koul; +Cc: dmaengine, Fabio Estevam
Hi Vinod,
On Tue, May 22, 2018 at 12:36 AM, Vinod Koul <vinod.koul@linaro.org> wrote:
> 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 <s.hauer@pengutronix.de>
>
> /*
> * 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
Putting everything as // is Linus' preferred style:
https://lkml.org/lkml/2017/11/25/133
---
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* [1/3] dmaengine: imx-sdma: Switch to SPDX identifier
@ 2018-05-23 5:20 Vinod Koul
0 siblings, 0 replies; 5+ messages in thread
From: Vinod Koul @ 2018-05-23 5:20 UTC (permalink / raw)
To: Fabio Estevam; +Cc: dmaengine, Fabio Estevam
On 22-05-18, 08:22, Fabio Estevam wrote:
> Hi Vinod,
>
> On Tue, May 22, 2018 at 12:36 AM, Vinod Koul <vinod.koul@linaro.org> wrote:
>
> > 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 <s.hauer@pengutronix.de>
> >
> > /*
> > * 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
>
> Putting everything as // is Linus' preferred style:
> https://lkml.org/lkml/2017/11/25/133
Sadly it is not documented, only SPDX tags are in
Documentation/process/license-rules.rst
^ permalink raw reply [flat|nested] 5+ messages in thread
* [1/3] dmaengine: imx-sdma: Switch to SPDX identifier
@ 2018-05-23 5:41 Vinod Koul
0 siblings, 0 replies; 5+ messages in thread
From: Vinod Koul @ 2018-05-23 5:41 UTC (permalink / raw)
To: Fabio Estevam; +Cc: dmaengine, Fabio Estevam
On 21-05-18, 23:53, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
>
> Adopt the SPDX license identifier headers to ease license compliance
> management.
Applied all, thanks
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-05-23 5:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-22 2:53 [1/3] dmaengine: imx-sdma: Switch to SPDX identifier Fabio Estevam
-- strict thread matches above, loose matches on Subject: below --
2018-05-22 3:36 Vinod Koul
2018-05-22 11:22 Fabio Estevam
2018-05-23 5:20 Vinod Koul
2018-05-23 5:41 Vinod Koul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).