2018-11-11 00:37:35

by Stefan Wahren

[permalink] [raw]
Subject: [PATCH 03/17] hw_random: bcm2835-rng: Switch to SPDX identifier

Adopt the SPDX license identifier headers to ease license compliance
management. While we are at this fix the comment style, too.

Cc: Lubomir Rintel <[email protected]>
Signed-off-by: Stefan Wahren <[email protected]>
---
drivers/char/hw_random/bcm2835-rng.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/char/hw_random/bcm2835-rng.c b/drivers/char/hw_random/bcm2835-rng.c
index 6767d96..256b0b1 100644
--- a/drivers/char/hw_random/bcm2835-rng.c
+++ b/drivers/char/hw_random/bcm2835-rng.c
@@ -1,10 +1,7 @@
-/**
+// SPDX-License-Identifier: GPL-2.0
+/*
* Copyright (c) 2010-2012 Broadcom. All rights reserved.
* Copyright (c) 2013 Lubomir Rintel
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License ("GPL")
- * version 2, as published by the Free Software Foundation.
*/

#include <linux/hw_random.h>
--
2.7.4


2018-11-11 21:15:07

by Lubomir Rintel

[permalink] [raw]
Subject: Re: [PATCH 03/17] hw_random: bcm2835-rng: Switch to SPDX identifier

On Sat, 2018-11-10 at 15:51 +0100, Stefan Wahren wrote:
> Adopt the SPDX license identifier headers to ease license compliance
> management. While we are at this fix the comment style, too.
>
> Cc: Lubomir Rintel <[email protected]>
> Signed-off-by: Stefan Wahren <[email protected]>
> ---
> drivers/char/hw_random/bcm2835-rng.c | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/char/hw_random/bcm2835-rng.c
> b/drivers/char/hw_random/bcm2835-rng.c
> index 6767d96..256b0b1 100644
> --- a/drivers/char/hw_random/bcm2835-rng.c
> +++ b/drivers/char/hw_random/bcm2835-rng.c
> @@ -1,10 +1,7 @@
> -/**
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> * Copyright (c) 2010-2012 Broadcom. All rights reserved.
> * Copyright (c) 2013 Lubomir Rintel
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> ("GPL")
> - * version 2, as published by the Free Software Foundation.
> */
>
> #include <linux/hw_random.h>

Acked-by: Lubomir Rintel <[email protected]>

2018-11-11 01:03:05

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 03/17] hw_random: bcm2835-rng: Switch to SPDX identifier

On Sat, Nov 10, 2018 at 03:51:16PM +0100, Stefan Wahren wrote:
> Adopt the SPDX license identifier headers to ease license compliance
> management. While we are at this fix the comment style, too.
>
> Cc: Lubomir Rintel <[email protected]>
> Signed-off-by: Stefan Wahren <[email protected]>
> ---
> drivers/char/hw_random/bcm2835-rng.c | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)

Acked-by: Greg Kroah-Hartman <[email protected]>

2018-11-11 02:38:56

by Eric Anholt

[permalink] [raw]
Subject: Re: [PATCH 03/17] hw_random: bcm2835-rng: Switch to SPDX identifier

Stefan Wahren <[email protected]> writes:

> Adopt the SPDX license identifier headers to ease license compliance
> management. While we are at this fix the comment style, too.

Reviewed-by: Eric Anholt <[email protected]>


Attachments:
signature.asc (832.00 B)