[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <79fd16a6-2585-2c68-5212-bf523ac02dd1@kernel.dk>
Date: Tue, 4 Oct 2022 08:06:58 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Geert Uytterhoeven <geert+renesas@...der.be>,
Pavel Begunkov <asml.silence@...il.com>,
Anuj Gupta <anuj20.g@...sung.com>,
Kanchan Joshi <joshi.k@...sung.com>
Cc: io-uring@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] io_uring: Add missing inline to
io_uring_cmd_import_fixed() dummy
On 10/4/22 6:39 AM, Geert Uytterhoeven wrote:
> If CONFIG_IO_URING is not set:
>
> include/linux/io_uring.h:65:12: error: ‘io_uring_cmd_import_fixed’ defined but not used [-Werror=unused-function]
> 65 | static int io_uring_cmd_import_fixed(u64 ubuf, unsigned long len, int rw,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~
>
> Fix this by adding the missing "inline" keyword.
Thanks Geert, I'll get this added.
--
Jens Axboe
Powered by blists - more mailing lists