OSDN Git Service

ionic: make spdxcheck.py happy
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Sat, 21 Mar 2020 12:05:14 +0000 (13:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Mar 2020 02:53:57 +0000 (19:53 -0700)
commit06e9bfc1e57daeead541c9f02968412cd284b189
treef676135d6ea58acf3a8ef5baec03189abb4f286f
parent3a303cfdd28d5f930a307c82e8a9d996394d5ebd
ionic: make spdxcheck.py happy

Headers ionic_if.h and ionic_regs.h are licensed under three alternative
licenses and the used SPDX-License-Identifier expression makes
./scripts/spdxcheck.py complain:

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

As OR is associative, it is irrelevant if the parentheses are put around
the first or the second OR-expression.

Simply add parentheses to make spdxcheck.py happy.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Acked-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_if.h
drivers/net/ethernet/pensando/ionic/ionic_regs.h