[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <70275fde-dbf8-4142-87bf-8d2e43564a45@kernel.dk>
Date: Fri, 29 Nov 2019 18:53:17 -0800
From: Jens Axboe <axboe@...nel.dk>
To: YueHaibing <yuehaibing@...wei.com>, viro@...iv.linux.org.uk,
asml.silence@...il.com
Cc: io-uring@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] io_uring: Add missing include <linux/highmem.h>
On 11/29/19 5:50 PM, YueHaibing wrote:
> Fix build error:
>
> fs/io_uring.c:1628:21: error: implicit declaration of function 'kmap' [-Werror=implicit-function-declaration]
> fs/io_uring.c:1643:4: error: implicit declaration of function 'kunmap' [-Werror=implicit-function-declaration]
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Fixes: 311ae9e159d8 ("io_uring: fix dead-hung for non-iter fixed rw")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> fs/io_uring.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/io_uring.c b/fs/io_uring.c
> index 2c2e8c2..745eb00 100644
> --- a/fs/io_uring.c
> +++ b/fs/io_uring.c
> @@ -69,6 +69,7 @@
> #include <linux/nospec.h>
> #include <linux/sizes.h>
> #include <linux/hugetlb.h>
> +#include <linux/highmem.h>
>
> #define CREATE_TRACE_POINTS
> #include <trace/events/io_uring.h>
Fix for this is already queued up, and now sent to Linus as well:
https://git.kernel.dk/cgit/linux-block/commit/?h=for-linus&id=aa4c3967756c6c576a38a23ac511be211462a6b7
--
Jens Axboe
Powered by blists - more mailing lists