Re: [PATCH] USB: add SPDX identifiers to all files in drivers/usb/
From: Thomas Gleixner
Date: Thu Oct 19 2017 - 05:02:04 EST
On Thu, 19 Oct 2017, Greg Kroah-Hartman wrote:
> On Thu, Oct 19, 2017 at 10:50:44AM +0200, Thomas Gleixner wrote:
> > The last discussion about this was to add the identifier as the first line
> > of the file or as the second in case of files with a shebang in the first
> > one.
> >
> > I think you missed the last version of the script. Attached.
>
> Ugh, that's ugly, creating stuff like this:
>
> --- a/drivers/usb/atm/speedtch.c
> +++ b/drivers/usb/atm/speedtch.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0+
> /******************************************************************************
> * speedtch.c - Alcatel SpeedTouch USB xDSL modem driver
> *
> diff --git a/drivers/usb/atm/ueagle-atm.c b/drivers/usb/atm/ueagle-atm.c
>
>
> Are we really ok with the '//' comments?
That's what Linus suggested so it stands out.
Thanks,
tglx