Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: dsa: use capital "OR" for multiple licenses in SPDX

Documentation/process/license-rules.rst and checkpatch expect the SPDX
identifier syntax for multiple licenses to use capital "OR". Correct it
to keep consistent format and avoid copy-paste issues.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Kurt Kanzenbach <kurt@linutronix.de>
Reviewed-by: FLorian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20230823085632.116725-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Jakub Kicinski
59da9885 3c5066c6

+5 -5
+1 -1
drivers/net/dsa/b53/b53_serdes.c
··· 1 - // SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause 1 + // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 2 /* 3 3 * Northstar Plus switch SerDes/SGMII PHY main logic 4 4 *
+1 -1
drivers/net/dsa/b53/b53_serdes.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */ 1 + /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 2 2 /* 3 3 * Northstar Plus switch SerDes/SGMII PHY definitions 4 4 *
+1 -1
drivers/net/dsa/hirschmann/hellcreek.c
··· 1 - // SPDX-License-Identifier: (GPL-2.0 or MIT) 1 + // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 2 /* 3 3 * DSA driver for: 4 4 * Hirschmann Hellcreek TSN switch.
+1 -1
drivers/net/dsa/hirschmann/hellcreek.h
··· 1 - /* SPDX-License-Identifier: (GPL-2.0 or MIT) */ 1 + /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 2 2 /* 3 3 * DSA driver for: 4 4 * Hirschmann Hellcreek TSN switch.
+1 -1
include/linux/platform_data/hirschmann-hellcreek.h
··· 1 - /* SPDX-License-Identifier: (GPL-2.0 or MIT) */ 1 + /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 2 2 /* 3 3 * Hirschmann Hellcreek TSN switch platform data. 4 4 *