Re: [PATCH -next] io_uring: Add missing inline to io_uring_cmd_import_fixed() dummy

From: Jens Axboe
Date: Tue Oct 04 2022 - 10:07:08 EST


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