spdxcheck.py complains about the second OR?

Masahiro Yamada <[email protected]>
Newsgroups org.kernel.vger.linux-spdx,org.kernel.vger.linux-kernel
Message-ID <CAK7LNASwF9y+MkhkvCRATu0qXSJkxx8fZ-DUjQTfWOi9+1YrfQ@mail.gmail.com>
Hi.

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.


-- 
Best Regards
Masahiro Yamada
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.