lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190902143915.20576-1-yuehaibing@huawei.com>
Date:   Mon, 2 Sep 2019 22:39:15 +0800
From:   YueHaibing <yuehaibing@...wei.com>
To:     <miklos@...redi.hu>, <stefanha@...hat.com>, <vgoyal@...hat.com>,
        <mszeredi@...hat.com>, <viro@...iv.linux.org.uk>
CC:     <linux-fsdevel@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH -next] virtio-fs: Add missing include file

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@...wei.com>
Fixes: 08f3aab37d99 ("virtio-fs: add virtiofs filesystem")
Signed-off-by: YueHaibing <yuehaibing@...wei.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ