2020-03-21 11:20:00

by Lukas Bulwahn

[permalink] [raw]
Subject: [PATCH] io_uring: make spdxcheck.py happy

Commit bbbdeb4720a0 ("io_uring: dual license io_uring.h uapi header")
uses a nested SPDX-License-Identifier to dual license the header.

Since then, ./scripts/spdxcheck.py complains:

include/uapi/linux/io_uring.h: 1:60 Missing parentheses: OR

Add parentheses to make spdxcheck.py happy.

Signed-off-by: Lukas Bulwahn <[email protected]>
---
applies cleanly on next-20200320

include/uapi/linux/io_uring.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h
index 6d9d2b1cc523..e48d746b8e2a 100644
--- a/include/uapi/linux/io_uring.h
+++ b/include/uapi/linux/io_uring.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note OR MIT */
+/* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT */
/*
* Header file for the io_uring interface.
*
--
2.17.1


2020-03-21 20:05:00

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] io_uring: make spdxcheck.py happy

On 3/21/20 5:19 AM, Lukas Bulwahn wrote:
> Commit bbbdeb4720a0 ("io_uring: dual license io_uring.h uapi header")
> uses a nested SPDX-License-Identifier to dual license the header.
>
> Since then, ./scripts/spdxcheck.py complains:
>
> include/uapi/linux/io_uring.h: 1:60 Missing parentheses: OR
>
> Add parentheses to make spdxcheck.py happy.

Thanks, applied.

--
Jens Axboe