* [PATCH -next] virtio-fs: Add missing include file
@ 2019-09-02 14:39 YueHaibing
2019-09-02 18:05 ` Miklos Szeredi
0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2019-09-02 14:39 UTC (permalink / raw)
To: miklos, stefanha, vgoyal, mszeredi, viro
Cc: linux-fsdevel, linux-kernel, YueHaibing
fs/fuse/virtio_fs.c: In function virtio_fs_requests_done_work:
fs/fuse/virtio_fs.c:348:6: error: implicit declaration of function zero_user_segment;
did you mean get_user_pages? [-Werror=implicit-function-declaration]
zero_user_segment(page, len, thislen);
^~~~~~~~~~~~~~~~~
get_user_pages
Add missing include file <linux/highmem.h>
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 08f3aab37d99 ("virtio-fs: add virtiofs filesystem")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
fs/fuse/virtio_fs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/fuse/virtio_fs.c b/fs/fuse/virtio_fs.c
index b92dfb1..e731c4f 100644
--- a/fs/fuse/virtio_fs.c
+++ b/fs/fuse/virtio_fs.c
@@ -10,6 +10,7 @@
#include <linux/virtio_fs.h>
#include <linux/delay.h>
#include <linux/fs_context.h>
+#include <linux/highmem.h>
#include "fuse_i.h"
/* List of virtio-fs device instances and a lock for the list */
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] virtio-fs: Add missing include file
2019-09-02 14:39 [PATCH -next] virtio-fs: Add missing include file YueHaibing
@ 2019-09-02 18:05 ` Miklos Szeredi
0 siblings, 0 replies; 2+ messages in thread
From: Miklos Szeredi @ 2019-09-02 18:05 UTC (permalink / raw)
To: YueHaibing
Cc: Miklos Szeredi, Stefan Hajnoczi, Vivek Goyal, viro, linux-fsdevel, lkml
On Mon, Sep 2, 2019 at 4:43 PM YueHaibing <yuehaibing@huawei.com> wrote:
>
> fs/fuse/virtio_fs.c: In function virtio_fs_requests_done_work:
> fs/fuse/virtio_fs.c:348:6: error: implicit declaration of function zero_user_segment;
> did you mean get_user_pages? [-Werror=implicit-function-declaration]
> zero_user_segment(page, len, thislen);
> ^~~~~~~~~~~~~~~~~
> get_user_pages
>
> Add missing include file <linux/highmem.h>
Thanks, folded.
Miklos
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-02 18:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-02 14:39 [PATCH -next] virtio-fs: Add missing include file YueHaibing
2019-09-02 18:05 ` Miklos Szeredi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).