Re: [PATCH v2 4/7] media: usb: add SPDX identifiers to some code I wrote
From: Sakari Ailus
Date: Fri Dec 01 2017 - 09:33:52 EST
Bom dia!
On Fri, Dec 01, 2017 at 11:59:33AM -0200, Mauro Carvalho Chehab wrote:
> Em Fri, 1 Dec 2017 15:52:55 +0200
> Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> escreveu:
>
> > Hi Mauro,
> >
> > On Fri, Dec 01, 2017 at 11:47:10AM -0200, Mauro Carvalho Chehab wrote:
> > > diff --git a/drivers/media/usb/au0828/au0828-input.c b/drivers/media/usb/au0828/au0828-input.c
> > > index af68afe085b5..832ed9f25784 100644
> > > --- a/drivers/media/usb/au0828/au0828-input.c
> > > +++ b/drivers/media/usb/au0828/au0828-input.c
> > > @@ -1,21 +1,10 @@
> > > -/*
> > > - handle au0828 IR remotes via linux kernel input layer.
> > > -
> > > - Copyright (C) 2014 Mauro Carvalho Chehab <mchehab@xxxxxxxxxxx>
> > > - Copyright (c) 2014 Samsung Electronics Co., Ltd.
> > > -
> > > - Based on em28xx-input.c.
> > > -
> > > - 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+
> > > +// handle au0828 IR remotes via linux kernel input layer.
> > > +//
> > > +// Copyright (c) 2014 Mauro Carvalho Chehab <mchehab@xxxxxxxxxxx>
> > > +// Copyright (c) 2014 Samsung Electronics Co., Ltd.
> > > +//
> > > +// Based on em28xx-input.c.
> >
> > Is the intention really to use C++ comments?
>
> Yes.
>
> > I see that the SPDX license identifiers elsewhere use C comments.
>
> Linus defined this way:
>
> https://www.spinics.net/lists/linux-xfs/msg13289.html
Right. Although you could suspect this to be from someone just pretending
to be Linus. :-D Anyway,
Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
--
Sakari Ailus
sakari.ailus@xxxxxxxxxxxxxxx