Re: [PATCH v2] drivers: net: convert drivers to spdx

2018-12-05 Thread Sascha Hauer
On Tue, Dec 04, 2018 at 10:36:18PM +0100, Oleksij Rempel wrote:
> Signed-off-by: Oleksij Rempel 
> ---
>  drivers/net/ag71xx.c |  5 +
>  drivers/net/altera_tse.c | 15 +--
>  drivers/net/altera_tse.h |  5 +
>  drivers/net/ar231x.c |  6 +-
>  drivers/net/ar231x.h |  9 +
>  drivers/net/arc_emac.c   | 10 +-
>  drivers/net/at91_ether.c | 15 +--
>  drivers/net/at91_ether.h |  6 +-
>  drivers/net/cpsw.c   | 15 +--
>  drivers/net/cs8900.c | 11 +--
>  drivers/net/davinci_emac.c   | 19 +--
>  drivers/net/davinci_emac.h   | 18 +-
>  drivers/net/designware.c | 15 +--
>  drivers/net/designware.h | 15 +--
>  drivers/net/designware_generic.c | 15 +--
>  drivers/net/designware_socfpga.c | 15 +--
>  drivers/net/dm9k.c   | 11 +--
>  drivers/net/efi-snp.c| 14 +-
>  drivers/net/enc28j60.c   |  7 +--
>  drivers/net/ep93xx.c | 17 +
>  drivers/net/ep93xx.h | 16 +---
>  drivers/net/ethoc.c  |  5 +
>  drivers/net/fec_imx.c| 12 +---
>  drivers/net/fec_imx.h| 13 +
>  drivers/net/fec_mpc5200.c|  1 +
>  drivers/net/gianfar.c|  5 +
>  drivers/net/gianfar.h|  5 +
>  drivers/net/ks8851_mll.c | 12 ++--
>  drivers/net/ksz8864rmn.c | 12 +---
>  drivers/net/macb.c   | 12 +---
>  drivers/net/macb.h   | 15 +--
>  drivers/net/mvneta.c | 12 +---
>  drivers/net/orion-gbe.c  | 16 +---
>  drivers/net/orion-gbe.h  | 16 +---
>  drivers/net/rtl8169.c| 13 +
>  drivers/net/smc9.c   | 11 +--
>  drivers/net/smc911x.c| 15 +--
>  drivers/net/smc911x.h| 15 +--
>  drivers/net/tap.c| 14 +-
>  drivers/net/xgmac.c  | 14 +-
>  40 files changed, 41 insertions(+), 436 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/net/ag71xx.c b/drivers/net/ag71xx.c
> index a422aacdd..0565c9049 100644
> --- a/drivers/net/ag71xx.c
> +++ b/drivers/net/ag71xx.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   *  Atheros AR71xx built-in ethernet mac driver
>   *
> @@ -5,10 +6,6 @@
>   *  Copyright (C) 2008 Imre Kaloz 
>   *
>   *  Based on Atheros' AG7100 driver
> - *
> - *  This program is free software; you can redistribute it and/or modify it
> - *  under the terms of the GNU General Public License version 2 as published
> - *  by the Free Software Foundation.
>   */
>  
>  #include 
> diff --git a/drivers/net/altera_tse.c b/drivers/net/altera_tse.c
> index 316b97174..f1dfe5952 100644
> --- a/drivers/net/altera_tse.c
> +++ b/drivers/net/altera_tse.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Altera TSE Network driver
>   *
>   * Copyright (C) 2008 Altera Corporation.
>   * Copyright (C) 2010 Thomas Chou 
>   * Copyright (C) 2011 Franck JULLIEN, 
> - *
> - * See file CREDITS for list of people who contributed to this
> - * project.
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
>   */
>  
>  #include 
> diff --git a/drivers/net/altera_tse.h b/drivers/net/altera_tse.h
> index 5a66a7d28..7bff14de8 100644
> --- a/drivers/net/altera_tse.h
> +++ b/drivers/net/altera_tse.h
> @@ -1,13 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * Altera 10/100/1000 triple speed ethernet mac
>   *
>   * Copyright (C) 2008 Altera Corporation.
>   * Copyright (C) 2010 Thomas Chou 
>   * Copyright (C) 2011 Franck JULLIEN 
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
>   */
>  #ifndef _ALTERA_TSE_H_
>  #define _ALTERA_TSE_H_
> diff --git a/drivers/net/ar231x.c b/drivers/net/ar231x.c
> index 1ef9ce815..48d41b8cb 100644
> --- a/drivers/net/ar231x.c
> +++ b/drivers/net/ar231x.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * ar231x.c: driver for the Atheros AR231x Ethernet device.
>   * This 

Re: [PATCH v2] drivers: net: convert drivers to spdx

2018-12-05 Thread Roland Hieber
On Tue, Dec 04, 2018 at 10:36:18PM +0100, Oleksij Rempel wrote:
> Signed-off-by: Oleksij Rempel 

Looks good to me.

Reviewed-by: Roland Hieber 

> ---
>  drivers/net/ag71xx.c |  5 +
>  drivers/net/altera_tse.c | 15 +--
>  drivers/net/altera_tse.h |  5 +
>  drivers/net/ar231x.c |  6 +-
>  drivers/net/ar231x.h |  9 +
>  drivers/net/arc_emac.c   | 10 +-
>  drivers/net/at91_ether.c | 15 +--
>  drivers/net/at91_ether.h |  6 +-
>  drivers/net/cpsw.c   | 15 +--
>  drivers/net/cs8900.c | 11 +--
>  drivers/net/davinci_emac.c   | 19 +--
>  drivers/net/davinci_emac.h   | 18 +-
>  drivers/net/designware.c | 15 +--
>  drivers/net/designware.h | 15 +--
>  drivers/net/designware_generic.c | 15 +--
>  drivers/net/designware_socfpga.c | 15 +--
>  drivers/net/dm9k.c   | 11 +--
>  drivers/net/efi-snp.c| 14 +-
>  drivers/net/enc28j60.c   |  7 +--
>  drivers/net/ep93xx.c | 17 +
>  drivers/net/ep93xx.h | 16 +---
>  drivers/net/ethoc.c  |  5 +
>  drivers/net/fec_imx.c| 12 +---
>  drivers/net/fec_imx.h| 13 +
>  drivers/net/fec_mpc5200.c|  1 +
>  drivers/net/gianfar.c|  5 +
>  drivers/net/gianfar.h|  5 +
>  drivers/net/ks8851_mll.c | 12 ++--
>  drivers/net/ksz8864rmn.c | 12 +---
>  drivers/net/macb.c   | 12 +---
>  drivers/net/macb.h   | 15 +--
>  drivers/net/mvneta.c | 12 +---
>  drivers/net/orion-gbe.c  | 16 +---
>  drivers/net/orion-gbe.h  | 16 +---
>  drivers/net/rtl8169.c| 13 +
>  drivers/net/smc9.c   | 11 +--
>  drivers/net/smc911x.c| 15 +--
>  drivers/net/smc911x.h| 15 +--
>  drivers/net/tap.c| 14 +-
>  drivers/net/xgmac.c  | 14 +-
>  40 files changed, 41 insertions(+), 436 deletions(-)
> 
> diff --git a/drivers/net/ag71xx.c b/drivers/net/ag71xx.c
> index a422aacdd..0565c9049 100644
> --- a/drivers/net/ag71xx.c
> +++ b/drivers/net/ag71xx.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   *  Atheros AR71xx built-in ethernet mac driver
>   *
> @@ -5,10 +6,6 @@
>   *  Copyright (C) 2008 Imre Kaloz 
>   *
>   *  Based on Atheros' AG7100 driver
> - *
> - *  This program is free software; you can redistribute it and/or modify it
> - *  under the terms of the GNU General Public License version 2 as published
> - *  by the Free Software Foundation.
>   */
>  
>  #include 
> diff --git a/drivers/net/altera_tse.c b/drivers/net/altera_tse.c
> index 316b97174..f1dfe5952 100644
> --- a/drivers/net/altera_tse.c
> +++ b/drivers/net/altera_tse.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Altera TSE Network driver
>   *
>   * Copyright (C) 2008 Altera Corporation.
>   * Copyright (C) 2010 Thomas Chou 
>   * Copyright (C) 2011 Franck JULLIEN, 
> - *
> - * See file CREDITS for list of people who contributed to this
> - * project.
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
>   */
>  
>  #include 
> diff --git a/drivers/net/altera_tse.h b/drivers/net/altera_tse.h
> index 5a66a7d28..7bff14de8 100644
> --- a/drivers/net/altera_tse.h
> +++ b/drivers/net/altera_tse.h
> @@ -1,13 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * Altera 10/100/1000 triple speed ethernet mac
>   *
>   * Copyright (C) 2008 Altera Corporation.
>   * Copyright (C) 2010 Thomas Chou 
>   * Copyright (C) 2011 Franck JULLIEN 
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
>   */
>  #ifndef _ALTERA_TSE_H_
>  #define _ALTERA_TSE_H_
> diff --git a/drivers/net/ar231x.c b/drivers/net/ar231x.c
> index 1ef9ce815..48d41b8cb 100644
> --- a/drivers/net/ar231x.c
> +++ b/drivers/net/ar231x.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * ar231x.c: driver for the Atheros AR231x Ethernet