Re: spdxcheck.py complains about the second OR?

From: Christoph Hellwig
Date: Mon Nov 04 2019 - 18:53:45 EST


On Mon, Nov 04, 2019 at 11:11:53PM +0100, Thomas Gleixner wrote:
> On Fri, 1 Nov 2019, Masahiro Yamada wrote:
> > scripts/spdxcheck.py warns the following two files.
> >
> > $ ./scripts/spdxcheck.py
> > drivers/net/ethernet/pensando/ionic/ionic_if.h: 1:52 Syntax error: OR
> > drivers/net/ethernet/pensando/ionic/ionic_regs.h: 1:52 Syntax error: OR
> >
> > I do not understand what is wrong with them.
> >
> > I think "A OR B OR C" is sane.
>
> Yes it is, but obviously we did not expect files with 3 possible
> alternative licenses.

And I'm kinda happy about this warning because people are overdoing it.
There is no point for the Linux-OpenIB license in this case, as it
is just a BSD license with copy and paste errors. I think the right
fix is to ask the authors to just drop it.