From ccd18ce290726053faff75b6fc3e541301ac99f9 Mon Sep 17 00:00:00 2001 From: Tim Bird Date: Tue, 3 Feb 2026 16:46:24 -0700 Subject: [PATCH] io_uring: Add SPDX id lines to remaining source files Some io_uring files are missing SPDX-License-Identifier lines. Add lines with GPL-2.0 license IDs to these files. Signed-off-by: Tim Bird Signed-off-by: Jens Axboe --- io_uring/alloc_cache.h | 1 + io_uring/cmd_net.c | 1 + io_uring/eventfd.h | 1 + io_uring/io-wq.h | 1 + io_uring/io_uring.h | 1 + io_uring/memmap.h | 1 + io_uring/mock_file.c | 1 + io_uring/notif.c | 1 + io_uring/refs.h | 1 + io_uring/slist.h | 1 + 10 files changed, 10 insertions(+) diff --git a/io_uring/alloc_cache.h b/io_uring/alloc_cache.h index bb2f21a7bfd6..45fcd8b3b824 100644 --- a/io_uring/alloc_cache.h +++ b/io_uring/alloc_cache.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef IOU_ALLOC_CACHE_H #define IOU_ALLOC_CACHE_H diff --git a/io_uring/cmd_net.c b/io_uring/cmd_net.c index 19d3ce2bd20a..cb2775936fb8 100644 --- a/io_uring/cmd_net.c +++ b/io_uring/cmd_net.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include #include #include diff --git a/io_uring/eventfd.h b/io_uring/eventfd.h index e2f1985c2cf9..400eda4a4165 100644 --- a/io_uring/eventfd.h +++ b/io_uring/eventfd.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ struct io_ring_ctx; int io_eventfd_register(struct io_ring_ctx *ctx, void __user *arg, diff --git a/io_uring/io-wq.h b/io_uring/io-wq.h index 94b14742b703..42f00a47a9c9 100644 --- a/io_uring/io-wq.h +++ b/io_uring/io-wq.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef INTERNAL_IO_WQ_H #define INTERNAL_IO_WQ_H diff --git a/io_uring/io_uring.h b/io_uring/io_uring.h index acdc39b9f8d6..f12e597adc9e 100644 --- a/io_uring/io_uring.h +++ b/io_uring/io_uring.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef IOU_CORE_H #define IOU_CORE_H diff --git a/io_uring/memmap.h b/io_uring/memmap.h index a39d9e518905..f4cfbb6b9a1f 100644 --- a/io_uring/memmap.h +++ b/io_uring/memmap.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef IO_URING_MEMMAP_H #define IO_URING_MEMMAP_H diff --git a/io_uring/mock_file.c b/io_uring/mock_file.c index 3ffac8f72974..80c96ad2061f 100644 --- a/io_uring/mock_file.c +++ b/io_uring/mock_file.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include #include #include diff --git a/io_uring/notif.c b/io_uring/notif.c index f476775ba44b..efce8ae12eaa 100644 --- a/io_uring/notif.c +++ b/io_uring/notif.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include #include #include diff --git a/io_uring/refs.h b/io_uring/refs.h index 0d928d87c4ed..0fe16b67c308 100644 --- a/io_uring/refs.h +++ b/io_uring/refs.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef IOU_REQ_REF_H #define IOU_REQ_REF_H diff --git a/io_uring/slist.h b/io_uring/slist.h index 0aec51076bad..45c21a8ad685 100644 --- a/io_uring/slist.h +++ b/io_uring/slist.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef INTERNAL_IO_SLIST_H #define INTERNAL_IO_SLIST_H