summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2022-10-04 15:39:10 +0300
committerJens Axboe <axboe@kernel.dk>2022-10-04 17:13:20 +0300
commit0e0abad2a71bcd7ba0f30e7975f5b4199ade4e60 (patch)
treec54e2daa73e6b387db2490ee0626345fa2e41ff7 /io_uring
parent23fd22e55b767be9c31fda57205afb2023cd6aad (diff)
downloadlinux-0e0abad2a71bcd7ba0f30e7975f5b4199ade4e60.tar.xz
io_uring: Add missing inline to io_uring_cmd_import_fixed() dummy
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. Fixes: a9216fac3ed8819c ("io_uring: add io_uring_cmd_import_fixed") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/7404b4a696f64e33e5ef3c5bd3754d4f26d13e50.1664887093.git.geert+renesas@glider.be Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions