Re: [PATCH net-next] net: dsa: use capital "OR" for multiple licenses in SPDX

From: Kurt Kanzenbach
Date: Wed Aug 23 2023 - 05:54:42 EST


On Wed Aug 23 2023, Krzysztof Kozlowski wrote:
> 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@xxxxxxxxxx>

Reviewed-by: Kurt Kanzenbach <kurt@xxxxxxxxxxxxx>

Side note: The SPDX spec in section D.2 says: "License expression
operators (AND, OR and WITH) should be matched in a case-sensitive
manner.". Should is not must. So I assume checkpatch and spdxcheck
should handle both cases. Especially because:

|linux (git)-[master] % git grep 'SPDX' | grep ' or ' | wc -l
|370

Thanks,
Kurt

Attachment: signature.asc
Description: PGP signature