From: Ming Lei <ming.lei@redhat.com>
To: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, Jens Axboe <axboe@kernel.dk>
Subject: Re: [axboe-block:for-6.18/io_uring 16/16] include/linux/io_uring/cmd.h:123:1: error: expected identifier or '(' before '{' token
Date: Thu, 21 Aug 2025 23:09:57 +0800 [thread overview]
Message-ID: <aKc2xVvyo6sPgCOP@fedora> (raw)
In-Reply-To: <202508212218.pOwu5QFJ-lkp@intel.com>
On Thu, Aug 21, 2025 at 10:46:05PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-6.18/io_uring
> head: 55dc643dd2ad15e755a706980692a374de1bb7a8
> commit: 55dc643dd2ad15e755a706980692a374de1bb7a8 [16/16] io_uring: uring_cmd: add multishot support
> config: i386-buildonly-randconfig-001-20250821 (https://download.01.org/0day-ci/archive/20250821/202508212218.pOwu5QFJ-lkp@intel.com/config)
> compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250821/202508212218.pOwu5QFJ-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202508212218.pOwu5QFJ-lkp@intel.com/
>
> All error/warnings (new ones prefixed by >>):
>
> In file included from block/fops.c:20:
> >> include/linux/io_uring/cmd.h:123:1: error: expected identifier or '(' before '{' token
> 123 | {
> | ^
> >> include/linux/io_uring/cmd.h:121:1: warning: 'io_uring_cmd_buffer_select' declared 'static' but never defined [-Wunused-function]
> 121 | io_uring_cmd_buffer_select(struct io_uring_cmd *ioucmd, unsigned buf_group,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Jens,
Can you fold the following change into this patch?
diff --git a/include/linux/io_uring/cmd.h b/include/linux/io_uring/cmd.h
index be0e29b72669..4bd3a7339243 100644
--- a/include/linux/io_uring/cmd.h
+++ b/include/linux/io_uring/cmd.h
@@ -119,7 +119,7 @@ static inline void io_uring_cmd_issue_blocking(struct io_uring_cmd *ioucmd)
}
static inline struct io_br_sel
io_uring_cmd_buffer_select(struct io_uring_cmd *ioucmd, unsigned buf_group,
- size_t *len, unsigned int issue_flags);
+ size_t *len, unsigned int issue_flags)
{
return (struct io_br_sel) { .val = -EOPNOTSUPP };
}
Thanks,
Ming
prev parent reply other threads:[~2025-08-21 15:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-21 14:46 [axboe-block:for-6.18/io_uring 16/16] include/linux/io_uring/cmd.h:123:1: error: expected identifier or '(' before '{' token kernel test robot
2025-08-21 15:09 ` Ming Lei [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aKc2xVvyo6sPgCOP@fedora \
--to=ming.lei@redhat.com \
--cc=axboe@kernel.dk \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.