summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-02-23 05:59:19 -0700
committerJens Axboe <axboe@kernel.dk>2022-02-23 05:59:19 -0700
commitd431c4960f3ad50d086af4aec54cc3236e82ad8c (patch)
tree1edd9d897e25c20fe5b97bebcdee565eb1b72d97
parent93e30695bb0c4e27bd2ab9a7e91a8279225d1264 (diff)
parentd36db0b72b9399623dee12b61069845d8e1bfa05 (diff)
downloadliburing-d431c4960f3ad50d086af4aec54cc3236e82ad8c.tar.gz
liburing-d431c4960f3ad50d086af4aec54cc3236e82ad8c.tar.bz2
Merge tag 'liburing-2022-02-23_2' of https://github.com/ammarfaizi2/liburing
liburing-2022-02-23_2 Small cleanup for man and SPDX-License-Identifier comment. - For man/io_uring_get_probe.3: s/does/do/ - SPDX-License-Identifier for arch/syscall-defs.h. - SPDX-License-Identifier for tests. Link: https://github.com/axboe/liburing/pull/539 * tag 'liburing-2022-02-23_2' of https://github.com/ammarfaizi2/liburing: test: Add missing SPDX-License-Identifier arch/syscall-defs.h: Add missing SPDX-License-Identifier man/io_uring_get_probe.3: Trivial man cleanup
-rw-r--r--man/io_uring_get_probe.32
-rw-r--r--src/arch/syscall-defs.h2
-rw-r--r--test/ce593a6c480a-test.c1
-rw-r--r--test/double-poll-crash.c1
-rw-r--r--test/exec-target.c2
-rw-r--r--test/lfs-openat-write.c2
-rw-r--r--test/lfs-openat.c2
-rw-r--r--test/pipe-eof.c2
-rw-r--r--test/pollfree.c1
-rw-r--r--test/sendmsg_fs_cve.c1
-rw-r--r--test/skip-cqe.c1
-rw-r--r--test/splice.c1
-rw-r--r--test/sq-poll-kthread.c1
-rw-r--r--test/sqpoll-cancel-hang.c1
-rw-r--r--test/sqpoll-disable-exit.c1
-rw-r--r--test/sqpoll-exit-hang.c1
-rw-r--r--test/sqpoll-sleep.c1
17 files changed, 22 insertions, 1 deletions
diff --git a/man/io_uring_get_probe.3 b/man/io_uring_get_probe.3
index 17b34c1..38f1c53 100644
--- a/man/io_uring_get_probe.3
+++ b/man/io_uring_get_probe.3
@@ -19,7 +19,7 @@ structure to the caller. The caller is responsible for freeing the
structure with the function io_uring_free_probe().
.SH NOTES
-Earlier versions of the Linux kernel does not support probe. If the kernel
+Earlier versions of the Linux kernel do not support probe. If the kernel
doesn't support probe, this function will return NULL.
.SH RETURN VALUE
diff --git a/src/arch/syscall-defs.h b/src/arch/syscall-defs.h
index 2c37c4d..f79f56a 100644
--- a/src/arch/syscall-defs.h
+++ b/src/arch/syscall-defs.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: MIT */
+
#ifndef LIBURING_ARCH_SYSCALL_DEFS_H
#define LIBURING_ARCH_SYSCALL_DEFS_H
diff --git a/test/ce593a6c480a-test.c b/test/ce593a6c480a-test.c
index c6949f0..47de128 100644
--- a/test/ce593a6c480a-test.c
+++ b/test/ce593a6c480a-test.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
/*
* Test 5.7 regression with task_work not being run while a task is
* waiting on another event in the kernel.
diff --git a/test/double-poll-crash.c b/test/double-poll-crash.c
index e932bec..5bfce09 100644
--- a/test/double-poll-crash.c
+++ b/test/double-poll-crash.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
// https://syzkaller.appspot.com/bug?id=5c9918d20f771265ad0ffae3c8f3859d24850692
// autogenerated by syzkaller (https://github.com/google/syzkaller)
diff --git a/test/exec-target.c b/test/exec-target.c
index 50bc2c9..2399c2d 100644
--- a/test/exec-target.c
+++ b/test/exec-target.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: MIT */
+
int main(int argc, char *argv[])
{
return 0;
diff --git a/test/lfs-openat-write.c b/test/lfs-openat-write.c
index ac35e1b..6bbf78d 100644
--- a/test/lfs-openat-write.c
+++ b/test/lfs-openat-write.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: MIT */
+
#define _LARGEFILE_SOURCE
#define _FILE_OFFSET_BITS 64
diff --git a/test/lfs-openat.c b/test/lfs-openat.c
index b14238a..4823cc4 100644
--- a/test/lfs-openat.c
+++ b/test/lfs-openat.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: MIT */
+
#define _LARGEFILE_SOURCE
#define _FILE_OFFSET_BITS 64
diff --git a/test/pipe-eof.c b/test/pipe-eof.c
index 4c98de9..bf13517 100644
--- a/test/pipe-eof.c
+++ b/test/pipe-eof.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: MIT */
+
/*
* Test that closed pipe reads returns 0, instead of waiting for more
* data.
diff --git a/test/pollfree.c b/test/pollfree.c
index 10f842b..e2511df 100644
--- a/test/pollfree.c
+++ b/test/pollfree.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
// https://syzkaller.appspot.com/bug?id=5f5a44abb4cba056fe24255c4fcb7e7bbe13de7a
// autogenerated by syzkaller (https://github.com/google/syzkaller)
diff --git a/test/sendmsg_fs_cve.c b/test/sendmsg_fs_cve.c
index 13a1235..2ce3114 100644
--- a/test/sendmsg_fs_cve.c
+++ b/test/sendmsg_fs_cve.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
/*
* repro-CVE-2020-29373 -- Reproducer for CVE-2020-29373.
*
diff --git a/test/skip-cqe.c b/test/skip-cqe.c
index a01800a..99b882b 100644
--- a/test/skip-cqe.c
+++ b/test/skip-cqe.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
diff --git a/test/splice.c b/test/splice.c
index f4f0c9c..5e9b789 100644
--- a/test/splice.c
+++ b/test/splice.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
diff --git a/test/sq-poll-kthread.c b/test/sq-poll-kthread.c
index 4bbf131..3f4a07b 100644
--- a/test/sq-poll-kthread.c
+++ b/test/sq-poll-kthread.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
/*
* Description: test if io_uring SQ poll kthread is stopped when the userspace
* process ended with or without closing the io_uring fd
diff --git a/test/sqpoll-cancel-hang.c b/test/sqpoll-cancel-hang.c
index e561478..ef62272 100644
--- a/test/sqpoll-cancel-hang.c
+++ b/test/sqpoll-cancel-hang.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
#include <fcntl.h>
#include <signal.h>
#include <stdint.h>
diff --git a/test/sqpoll-disable-exit.c b/test/sqpoll-disable-exit.c
index 93bcf42..76b6cf5 100644
--- a/test/sqpoll-disable-exit.c
+++ b/test/sqpoll-disable-exit.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
// https://syzkaller.appspot.com/bug?id=99f4ea77bb9b9ef24cefb66469be319f4aa9f162
// autogenerated by syzkaller (https://github.com/google/syzkaller)
diff --git a/test/sqpoll-exit-hang.c b/test/sqpoll-exit-hang.c
index e137c41..cde2115 100644
--- a/test/sqpoll-exit-hang.c
+++ b/test/sqpoll-exit-hang.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
/*
* Test that we exit properly with SQPOLL and having a request that
* adds a circular reference to the ring itself.
diff --git a/test/sqpoll-sleep.c b/test/sqpoll-sleep.c
index 7ffd0e5..9d1cff6 100644
--- a/test/sqpoll-sleep.c
+++ b/test/sqpoll-sleep.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: MIT */
/*
* Test that the sqthread goes to sleep around the specified time, and that
* the NEED_WAKEUP flag is then set.