summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch30
-rw-r--r--meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb1
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch b/meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch
new file mode 100644
index 0000000000..5e9e9d9a79
--- /dev/null
+++ b/meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch
@@ -0,0 +1,30 @@
1From 0927d0def968ea7e19905c7e39182f65961c11cf Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 5 Nov 2023 01:17:52 -0700
4Subject: [PATCH] ltp/fsx.h: Explicitly use int for return type for aio_rw()
5
6Fixes build with clang-17+
7error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
8
9Upstream-Status: Submitted [https://marc.info/?l=fstests&m=169917222008646&w=2]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 ltp/fsx.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/ltp/fsx.c b/ltp/fsx.c
16index ee4b8fe4..c0aec23f 100644
17--- a/ltp/fsx.c
18+++ b/ltp/fsx.c
19@@ -2581,7 +2581,7 @@ out_error:
20 return -1;
21 }
22 #else
23-aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset)
24+int aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset)
25 {
26 fprintf(stderr, "io_rw: need AIO support!\n");
27 exit(111);
28--
292.42.1
30
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb b/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb
index 79775fcb78..b8880e016c 100644
--- a/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb
+++ b/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb
@@ -7,6 +7,7 @@ SRCREV_FORMAT = "xfstests_unionmount"
7 7
8SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=for-next;name=xfstests \ 8SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=for-next;name=xfstests \
9 git://github.com/amir73il/unionmount-testsuite.git;branch=master;protocol=https;name=unionmount;destsuffix=unionmount-testsuite \ 9 git://github.com/amir73il/unionmount-testsuite.git;branch=master;protocol=https;name=unionmount;destsuffix=unionmount-testsuite \
10 file://0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch \
10 file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \ 11 file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \
11 " 12 "
12 13