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

From: Jens Axboe
Date: Tue Oct 04 2022 - 12:42:07 EST


On Tue, 4 Oct 2022 14:39:10 +0200, 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.
>
> [...]

Applied, thanks!

[1/1] io_uring: Add missing inline to io_uring_cmd_import_fixed() dummy
(no commit info)

Best regards,
--
Jens Axboe