diff options
author | 2025-05-20 13:33:36 -0600 | |
---|---|---|
committer | 2025-05-20 14:36:41 -0600 | |
commit | f1774d9d4e104639a9122bde3b1fe58a0c0dcde7 (patch) | |
tree | 0faf7c3294902d857963f3e3015ed8bc36157462 /scripts/lib/kdoc/kdoc_re.py | |
parent | io_uring/fdinfo: grab ctx->uring_lock around io_uring_show_fdinfo() (diff) | |
download | linux-rng-f1774d9d4e104639a9122bde3b1fe58a0c0dcde7.tar.xz linux-rng-f1774d9d4e104639a9122bde3b1fe58a0c0dcde7.zip |
io_uring/cmd: axe duplicate io_uring_cmd_import_fixed_vec() declaration
io_uring_cmd_import_fixed_vec() is declared in both
include/linux/io_uring/cmd.h and io_uring/uring_cmd.h. The declarations
are identical (if redundant) for CONFIG_IO_URING=y. But if
CONFIG_IO_URING=N, include/linux/io_uring/cmd.h declares the function as
static inline while io_uring/uring_cmd.h declares it as extern. This
causes linker errors if the declaration in io_uring/uring_cmd.h is used.
Remove the declaration in io_uring/uring_cmd.h to avoid linker errors
and prevent the declarations getting out of sync.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Fixes: ef4902752972 ("io_uring/cmd: introduce io_uring_cmd_import_fixed_vec")
Link: https://lore.kernel.org/r/20250520193337.1374509-1-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions