linux-next: build failure after merge of the keys tree
Subsystems (2)
Hi all,
After merging the keys tree, today's linux-next build (arm multi_v7_defconfig) failed like this:
fs/io_uring.c: In function 'io_splice_punt':fs/io_uring.c:2473:6: error: too few arguments to function 'get_pipe_info'
2473 | if (get_pipe_info(file))
| ^~~~~~~~~~~~~
In file included from include/linux/splice.h:12,
from include/linux/skbuff.h:36,
from include/linux/if_ether.h:19,
from include/uapi/linux/ethtool.h:19,
from include/linux/ethtool.h:18,
from include/linux/netdevice.h:37,
from include/net/sock.h:46,
from fs/io_uring.c:64:
include/linux/pipe_fs_i.h:267:25: note: declared here
267 | struct pipe_inode_info *get_pipe_info(struct file *file, bool for_splice);
| ^~~~~~~~~~~~~Caused by commit
549d46d3827d ("pipe: Add general notification queue support")
interacting with commit
52b31bc9aabc ("io_uring: add splice(2) support")
from the block tree.
I have added the following merge fix patch.
From: Stephen Rothwell <[email protected]>
Date: Mon, 2 Mar 2020 11:27:27 +1100
Subject: [PATCH] io_uring: fix up for get_pipe_info() API change
--- fs/io_uring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/io_uring.c +1 -1
@@ -2470,7 +2470,7 @@ static int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)static bool io_splice_punt (struct file *file) { -if (get_pipe_info (file)) +if (get_pipe_info (file, true))return false;if (!io_file_supports_async (file))return true;
Signature · 5 lines
2.25.0 -- Cheers, Stephen Rothwell
Pavel Begunkov
Acked-byQuoted 4 lines · Stephen Rothwell
Hi all,
After merging the keys tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
Thanks
Quoted 51 lines
fs/io_uring.c: In function 'io_splice_punt':fs/io_uring.c:2473:6: error: too few arguments to function 'get_pipe_info'
2473 | if (get_pipe_info(file))| ^~~~~~~~~~~~~ In file included from include/linux/splice.h:12, from include/linux/skbuff.h:36, from include/linux/if_ether.h:19, from include/uapi/linux/ethtool.h:19, from include/linux/ethtool.h:18, from include/linux/netdevice.h:37, from include/net/sock.h:46, from fs/io_uring.c:64: include/linux/pipe_fs_i.h:267:25: note: declared here 267 | struct pipe_inode_info *get_pipe_info(struct file *file, bool for_splice); | ^~~~~~~~~~~~~Caused by commit
549d46d3827d("pipe: Add general notification queue support")interacting with commit
52b31bc9aabc("io_uring: add splice(2) support")from the block tree.
I have added the following merge fix patch.
From: Stephen Rothwell <[email protected]>
Date: Mon, 2 Mar 2020 11:27:27 +1100
Subject: [PATCH]io_uring: fix up forget_pipe_info()API changeSigned-off-by Stephen Rothwell <[email protected]>--- fs/io_uring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/io_uring.c +1
-1@@ -2470,7 +2470,7 @@ static int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)static bool io_splice_punt (struct file *file) { -if (get_pipe_info (file)) +if (get_pipe_info (file, true))return false;if (!io_file_supports_async (file))return true;
Signature · 1 line
Pavel Begunkov
Hi all,
Quoted 46 lines · On Mon, 2 Mar 2020 11:37:37 +1100 Stephen Rothwell <[email protected]> wrote:
After merging the keys tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
fs/io_uring.c: In function 'io_splice_punt':fs/io_uring.c:2473:6: error: too few arguments to function 'get_pipe_info'
2473 | if (get_pipe_info(file))| ^~~~~~~~~~~~~ In file included from include/linux/splice.h:12, from include/linux/skbuff.h:36, from include/linux/if_ether.h:19, from include/uapi/linux/ethtool.h:19, from include/linux/ethtool.h:18, from include/linux/netdevice.h:37, from include/net/sock.h:46, from fs/io_uring.c:64: include/linux/pipe_fs_i.h:267:25: note: declared here 267 | struct pipe_inode_info *get_pipe_info(struct file *file, bool for_splice); | ^~~~~~~~~~~~~Caused by commit
549d46d3827d("pipe: Add general notification queue support")interacting with commit
52b31bc9aabc("io_uring: add splice(2) support")from the block tree.
I have added the following merge fix patch.
From: Stephen Rothwell <[email protected]>
Date: Mon, 2 Mar 2020 11:27:27 +1100
Subject: [PATCH]io_uring: fix up forget_pipe_info()API changeSigned-off-by Stephen Rothwell <[email protected]>--- fs/io_uring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/io_uring.c +0
-0
fs/io_uring.c static int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) · line 2476
Quoted 8 lines
fs/io_uring.c +1
-1@@ -2470,7 +2470,7 @@ static int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)static bool io_splice_punt (struct file *file) { -if (get_pipe_info (file)) +if (get_pipe_info (file, true))return false;if (!io_file_supports_async (file))return true;
Due to further changes in Linus' tree over the weekend, this fixup is not linger needed.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi all,
Quoted 3 lines · On Mon, 4 May 2020 13:25:29 +1000 Stephen Rothwell <[email protected]> wrote:
Due to further changes in Linus' tree over the weekend, this fixup is not linger needed.
"no longer" (Monday's ...)
Signature · 2 lines
Cheers, Stephen Rothwell