[PATCH] gpio: mlxbf3: use capital "OR" for multiple licenses in SPDX

Krzysztof Kozlowski posted 1 patch 2 years, 3 months ago
drivers/gpio/gpio-mlxbf3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] gpio: mlxbf3: use capital "OR" for multiple licenses in SPDX
Posted by Krzysztof Kozlowski 2 years, 3 months ago
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>

---

Rebased on next-20230822, so might not apply cleanly.  What does not
apply, can be skipped and I will fix it after next RC.
---
 drivers/gpio/gpio-mlxbf3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-mlxbf3.c b/drivers/gpio/gpio-mlxbf3.c
index 0a5f241a8352..7a3e1760fc5b 100644
--- a/drivers/gpio/gpio-mlxbf3.c
+++ b/drivers/gpio/gpio-mlxbf3.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause
+// SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause
 /* Copyright (C) 2022 NVIDIA CORPORATION & AFFILIATES */
 
 #include <linux/bitfield.h>
-- 
2.34.1
Re: [PATCH] gpio: mlxbf3: use capital "OR" for multiple licenses in SPDX
Posted by Bartosz Golaszewski 2 years, 3 months ago
On Wed, Aug 23, 2023 at 10:53 AM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> 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@linaro.org>
>
> ---
>
> Rebased on next-20230822, so might not apply cleanly.  What does not
> apply, can be skipped and I will fix it after next RC.
> ---
>  drivers/gpio/gpio-mlxbf3.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-mlxbf3.c b/drivers/gpio/gpio-mlxbf3.c
> index 0a5f241a8352..7a3e1760fc5b 100644
> --- a/drivers/gpio/gpio-mlxbf3.c
> +++ b/drivers/gpio/gpio-mlxbf3.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0-only or BSD-3-Clause
> +// SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause
>  /* Copyright (C) 2022 NVIDIA CORPORATION & AFFILIATES */
>
>  #include <linux/bitfield.h>
> --
> 2.34.1
>

Applied, thanks!

Bart
Re: [PATCH] gpio: mlxbf3: use capital "OR" for multiple licenses in SPDX
Posted by Andy Shevchenko 2 years, 3 months ago
On Wed, Aug 23, 2023 at 11:53 AM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> 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.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>

-- 
With Best Regards,
Andy Shevchenko