Re: [PATCH] arch/arm/boards: Replace license and copyright boilerplate by SPDX identfiers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hallo Roland,

first of all thanks for your feedback.

On Wed, Apr 29, 2020 at 12:50:45PM +0200, Roland Hieber wrote:
> On Tue, Apr 28, 2020 at 03:24:05PM +0200, Uwe Kleine-König wrote:
> > diff --git a/arch/arm/boards/beaglebone/board.c b/arch/arm/boards/beaglebone/board.c
> > index 819bdfae465a..661af7dbe0a1 100644
> > --- a/arch/arm/boards/beaglebone/board.c
> > +++ b/arch/arm/boards/beaglebone/board.c
> > @@ -1,20 +1,5 @@
> > -/*
> > - * (C) Copyright 2008
> > - * Texas Instruments, <www.ti.com>
> > - * Raghavendra KH <r-khandenahally@xxxxxx>
> > - *
> > - * Copyright (C) 2012 Jan Luebbe <j.luebbe@xxxxxxxxxxxxxx>
> > - *
> > - * 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.
> > - */
> > +// SPDX-License-Identifier: GPL-2.0-or-later
> > +// SPDX-FileCopyrightText: © 2008 Raghavendra KH <r-khandenahally@xxxxxx>, Texas Instruments (http://www.ti.com/)
> 
> SPDX-FileCopyrightText: © 2012 Jan Luebbe <j.luebbe@xxxxxxxxxxxxxx>
> is missing

right, good catch.

> > diff --git a/arch/arm/boards/embedsky-e9/board.c b/arch/arm/boards/embedsky-e9/board.c
> > index e5f92636fbc3..e86d1700376b 100644
> > --- a/arch/arm/boards/embedsky-e9/board.c
> > +++ b/arch/arm/boards/embedsky-e9/board.c
> > @@ -1,21 +1,12 @@
> > +// SPDX-License-Identifier: GPL-2.0-or-later
> > +// SPDX-FileCopyrightText: © 2014 Andrey Panov <rockford@xxxxxxxxx>
> > +
> >  /*
> > - * Copyright (C) 2014 Andrey Panov <rockford@xxxxxxxxx>
> > - *
> >   * based on arch/arm/boards/freescale-mx6-sabresd/board.c
> >   * Copyright (C) 2013 Hubert Feurstein <h.feurstein@xxxxxxxxx>
> >   *
> >   * based on arch/arm/boards/freescale-mx6-sabrelite/board.c
> >   * Copyright (C) 2012 Steffen Trumtrar, Pengutronix
> 
> This looks like SPDX-FileCopyrightText to me too?

I'm unsure (and didn't add SPDX-FileCopyrightText consistently for these
(I hope)). Is the copyright "infecting" in this way? What is your
suggestion?

	// SPDX-License-Identifier: GPL-2.0-or-later
	// SPDX-FileCopyrightText: © 2014 Andrey Panov <rockford@xxxxxxxxx>
	// SPDX-FileCopyrightText: © 2013 Hubert Feurstein <h.feurstein@xxxxxxxxx>
	// SPDX-FileCopyrightText: © 2012 Steffen Trumtrar, Pengutronix

	/*
	 * based on arch/arm/boards/freescale-mx6-sabresd/board.c
	 * and arch/arm/boards/freescale-mx6-sabrelite/board.c
	 */

?

> > diff --git a/arch/arm/boards/karo-tx6x/board.c b/arch/arm/boards/karo-tx6x/board.c
> > index 54b1e248f43d..f9d790b0f189 100644
> > --- a/arch/arm/boards/karo-tx6x/board.c
> > +++ b/arch/arm/boards/karo-tx6x/board.c
> > @@ -1,23 +1,13 @@
> > +// SPDX-License-Identifier: GPL-2.0-or-later
> > +// SPDX-FileCopyrightText: © 2014 Steffen Trumtrar, Pengutronix
> > +
> > +#define pr_fmt(fmt) "Karo-tx6: " fmt
> > +
> >  /*
> > - * Copyright (C) 2014 Steffen Trumtrar, Pengutronix
> > - *
> > - *
> >   * with the PMIC init code taken from u-boot
> >   * Copyright (C) 2012,2013 Lothar Waßmann <LW@xxxxxxxxxxxxxxxxxxx>
> 
> [..]
> 
> > - *
> > - * 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.
> >   */
> >  
> > -#define pr_fmt(fmt) "Karo-tx6: " fmt
> > -
> 
> Why does this line move to the top...?

huch, I guess I first removed the comment about u-boot and then readded
it during my own review at the wrong place. Will fix.

> > diff --git a/arch/arm/boards/phytec-phycard-omap3/pca-a-l1.h b/arch/arm/boards/phytec-phycard-omap3/pca-a-l1.h
> > index f6f89966970c..2a9477b8aa25 100644
> > --- a/arch/arm/boards/phytec-phycard-omap3/pca-a-l1.h
> > +++ b/arch/arm/boards/phytec-phycard-omap3/pca-a-l1.h
> > @@ -1,22 +1,11 @@
> > +// SPDX-License-Identifier: GPL-2.0-or-later
> > +// SPDX-FileCopyrightText: © 2008 Raghavendra KH <r-khandenahally@xxxxxx>,Texas Instruments (<www.ti.com>)
> 
> You might want to add an additional space after the comma.

indeed. And also remove the < >.

> > diff --git a/arch/arm/boards/phytec-phycore-pxa270/config.h b/arch/arm/boards/phytec-phycore-pxa270/config.h
> > index ca02b1140b27..325c40191329 100644
> > --- a/arch/arm/boards/phytec-phycore-pxa270/config.h
> > +++ b/arch/arm/boards/phytec-phycore-pxa270/config.h
> > @@ -1,23 +1,7 @@
> > -/*
> > - * Copyright (C) 2005 Phytec Messtechnik GmbH
> > - * Juergen Kilb, H. Klaholz <armlinux@xxxxxxxxx>
> > - *
> > - * Copyright (C) 2006 Pengutronix
> > - * Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
> > - * Robert Schwebel <r.schwebel@xxxxxxxxxxxxxx>
> > - *
> > - * 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.
> > - *
> > - *
> > - */
> > +// SPDX-License-Identifier: GPL-2.0-or-later
> > +// SPDX-FileCopyrightText: © 2005 Juergen Kilb & H. Klaholz <armlinux@xxxxxxxxx>, Phytec Messtechnik GmbH
> 
> Nitpick: an '&' might have a slightly different semantics as a ','.

Right, I didn't use a , as the email address looked as if it covered
both persons. An alternative I considered is to use two lines for the
two developpers and duplicate the email address. I don't like s/&/,/ as
after a name and a comma in all other locations a company only follows.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux