All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android16-6.12 38/38] include/linux/blkdev.h:1699:24: error: field 'req_list' has incomplete type
Date: Fri, 12 Jun 2026 07:19:47 +0800	[thread overview]
Message-ID: <202606120735.PHcFccnr-lkp@intel.com> (raw)

Hi Christoph,

FYI, the error/warning still remains.

tree:   https://android.googlesource.com/kernel/common android16-6.12
head:   17584f778119ed93d9ae85feb43561e05f5254b0
commit: 24f685a927c5a41df01d66069493bee40a5fb60e [38/38] UPSTREAM: block: add a rq_list type
config: x86_64-buildonly-randconfig-006-20260611 (https://download.01.org/0day-ci/archive/20260612/202606120735.PHcFccnr-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260612/202606120735.PHcFccnr-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/202606120735.PHcFccnr-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from include/linux/io_uring_types.h:4,
                    from include/linux/io_uring/cmd.h:6,
                    from io_uring/io_uring.c:70:
>> include/linux/blkdev.h:1699:24: error: field 'req_list' has incomplete type
    1699 |         struct rq_list req_list;
         |                        ^~~~~~~~
--
   In file included from include/linux/blk-mq.h:5,
                    from io_uring/rw.c:6:
>> include/linux/blkdev.h:1699:24: error: field 'req_list' has incomplete type
    1699 |         struct rq_list req_list;
         |                        ^~~~~~~~
   include/linux/blk-mq.h: In function 'rq_list_empty':
>> include/linux/blk-mq.h:239:18: error: invalid use of undefined type 'const struct rq_list'
     239 |         return rl->head == NULL;
         |                  ^~
   include/linux/blk-mq.h: In function 'rq_list_init':
>> include/linux/blk-mq.h:244:11: error: invalid use of undefined type 'struct rq_list'
     244 |         rl->head = NULL;
         |           ^~
   include/linux/blk-mq.h:245:11: error: invalid use of undefined type 'struct rq_list'
     245 |         rl->tail = NULL;
         |           ^~
   include/linux/blk-mq.h: In function 'rq_list_add_tail':
   include/linux/blk-mq.h:251:15: error: invalid use of undefined type 'struct rq_list'
     251 |         if (rl->tail)
         |               ^~
   include/linux/blk-mq.h:252:19: error: invalid use of undefined type 'struct rq_list'
     252 |                 rl->tail->rq_next = rq;
         |                   ^~
   include/linux/blk-mq.h:254:19: error: invalid use of undefined type 'struct rq_list'
     254 |                 rl->head = rq;
         |                   ^~
   include/linux/blk-mq.h:255:11: error: invalid use of undefined type 'struct rq_list'
     255 |         rl->tail = rq;
         |           ^~
   include/linux/blk-mq.h: In function 'rq_list_add_head':
   include/linux/blk-mq.h:260:25: error: invalid use of undefined type 'struct rq_list'
     260 |         rq->rq_next = rl->head;
         |                         ^~
   include/linux/blk-mq.h:261:11: error: invalid use of undefined type 'struct rq_list'
     261 |         rl->head = rq;
         |           ^~
   include/linux/blk-mq.h:262:16: error: invalid use of undefined type 'struct rq_list'
     262 |         if (!rl->tail)
         |                ^~
   include/linux/blk-mq.h:263:19: error: invalid use of undefined type 'struct rq_list'
     263 |                 rl->tail = rq;
         |                   ^~
   include/linux/blk-mq.h: In function 'rq_list_pop':
   include/linux/blk-mq.h:268:32: error: invalid use of undefined type 'struct rq_list'
     268 |         struct request *rq = rl->head;
         |                                ^~
   include/linux/blk-mq.h:271:19: error: invalid use of undefined type 'struct rq_list'
     271 |                 rl->head = rl->head->rq_next;
         |                   ^~
   include/linux/blk-mq.h:271:30: error: invalid use of undefined type 'struct rq_list'
     271 |                 rl->head = rl->head->rq_next;
         |                              ^~
   include/linux/blk-mq.h:272:24: error: invalid use of undefined type 'struct rq_list'
     272 |                 if (!rl->head)
         |                        ^~
   include/linux/blk-mq.h:273:27: error: invalid use of undefined type 'struct rq_list'
     273 |                         rl->tail = NULL;
         |                           ^~
   include/linux/blk-mq.h: In function 'rq_list_peek':
   include/linux/blk-mq.h:282:18: error: invalid use of undefined type 'struct rq_list'
     282 |         return rl->head;
         |                  ^~
--
   In file included from fs/orangefs/inode.c:13:
>> include/linux/blkdev.h:1699:24: error: field 'req_list' has incomplete type
    1699 |         struct rq_list req_list;
         |                        ^~~~~~~~
   In file included from fs/orangefs/protocol.h:287,
                    from fs/orangefs/inode.c:15:
   fs/orangefs/orangefs-debug.h:86:18: warning: 'num_kmod_keyword_mask_map' defined but not used [-Wunused-const-variable=]
      86 | static const int num_kmod_keyword_mask_map = (int)
         |                  ^~~~~~~~~~~~~~~~~~~~~~~~~


vim +/req_list +1699 include/linux/blkdev.h

  1697	
  1698	struct io_comp_batch {
> 1699		struct rq_list req_list;
  1700		bool need_ts;
  1701		void (*complete)(struct io_comp_batch *);
  1702	};
  1703	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-06-11 23:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202606120735.PHcFccnr-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.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.