* [android-common:android16-6.12-2025-12 1/1] include/linux/blkdev.h:1699:17: error: field has incomplete type 'struct rq_list'
@ 2026-09-17 17:11 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-17 17:11 UTC (permalink / raw)
Cc: oe-kbuild-all, llvm
TO: cros-kernel-buildreports@googlegroups.com
tree: https://android.googlesource.com/kernel/common android16-6.12-2025-12
head: 15ffcb7576561ae4930591fbedcdfbcfab0b5f97
commit: 24f685a927c5a41df01d66069493bee40a5fb60e [1/1] UPSTREAM: block: add a rq_list type
config: arm64-randconfig-1003-20260917 (https://download.01.org/0day-ci/archive/20260918/202609180126.3KyZ35Bp-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 7252edd9aa82ef1c570ff6694ef7f4763a8a5d2f)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260918/202609180126.3KyZ35Bp-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/202609180126.3KyZ35Bp-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
In file included from include/linux/blk-mq.h:5:
>> include/linux/blkdev.h:1699:17: error: field has incomplete type 'struct rq_list'
1699 | struct rq_list req_list;
| ^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
>> include/linux/blk-mq.h:239:11: error: incomplete definition of type 'const struct rq_list'
239 | return rl->head == NULL;
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
>> include/linux/blk-mq.h:244:4: error: incomplete definition of type 'struct rq_list'
244 | rl->head = NULL;
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:245:4: error: incomplete definition of type 'struct rq_list'
245 | rl->tail = NULL;
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:251:8: error: incomplete definition of type 'struct rq_list'
251 | if (rl->tail)
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:252:5: error: incomplete definition of type 'struct rq_list'
252 | rl->tail->rq_next = rq;
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:254:5: error: incomplete definition of type 'struct rq_list'
254 | rl->head = rq;
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:255:4: error: incomplete definition of type 'struct rq_list'
255 | rl->tail = rq;
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:260:18: error: incomplete definition of type 'struct rq_list'
260 | rq->rq_next = rl->head;
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:261:4: error: incomplete definition of type 'struct rq_list'
261 | rl->head = rq;
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:262:9: error: incomplete definition of type 'struct rq_list'
262 | if (!rl->tail)
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:263:5: error: incomplete definition of type 'struct rq_list'
263 | rl->tail = rq;
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:268:25: error: incomplete definition of type 'struct rq_list'
268 | struct request *rq = rl->head;
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:271:5: error: incomplete definition of type 'struct rq_list'
271 | rl->head = rl->head->rq_next;
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:271:16: error: incomplete definition of type 'struct rq_list'
271 | rl->head = rl->head->rq_next;
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:272:10: error: incomplete definition of type 'struct rq_list'
272 | if (!rl->head)
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:273:6: error: incomplete definition of type 'struct rq_list'
273 | rl->tail = NULL;
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:11:
In file included from rust/helpers/blk.c:3:
include/linux/blk-mq.h:282:11: error: incomplete definition of type 'struct rq_list'
282 | return rl->head;
| ~~^
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
1699 | struct rq_list req_list;
| ^
In file included from rust/helpers/helpers.c:21:
In file included from rust/helpers/mman.c:3:
include/linux/mman.h:159:9: warning: division by zero is undefined [-Wdivision-by-zero]
159 | _calc_vm_trans(flags, MAP_SYNC, VM_SYNC ) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/mman.h:137:21: note: expanded from macro '_calc_vm_trans'
137 | : ((x) & (bit1)) / ((bit1) / (bit2))))
| ^ ~~~~~~~~~~~~~~~~~
include/linux/mman.h:160:9: warning: division by zero is undefined [-Wdivision-by-zero]
160 | _calc_vm_trans(flags, MAP_STACK, VM_NOHUGEPAGE) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/mman.h:137:21: note: expanded from macro '_calc_vm_trans'
137 | : ((x) & (bit1)) / ((bit1) / (bit2))))
| ^ ~~~~~~~~~~~~~~~~~
3 warnings and 18 errors generated.
make[3]: *** [rust/Makefile:431: rust/helpers/helpers.o] Error 1 shuffle=1823093635
>> include/linux/blkdev.h:1699:17: error: field has incomplete type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
>> include/linux/blk-mq.h:239:11: error: incomplete definition of type 'const struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
>> include/linux/blk-mq.h:244:4: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:245:4: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:251:8: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:252:5: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:254:5: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:255:4: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:260:18: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:261:4: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:262:9: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:263:5: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:268:25: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:271:5: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:271:16: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:272:10: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:273:6: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:282:11: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/mman.h:137:21: warning: division by zero is undefined [-Wdivision-by-zero]
include/linux/mman.h:137:21: warning: division by zero is undefined [-Wdivision-by-zero]
clang diag: include/linux/mman.h:137:21: warning: division by zero is undefined [-Wdivision-by-zero]
clang diag: include/linux/mman.h:137:21: warning: division by zero is undefined [-Wdivision-by-zero]
>> Unable to generate bindings: clang diagnosed error: include/linux/blkdev.h:1699:17: error: field has incomplete type 'struct rq_list'
>> include/linux/blk-mq.h:239:11: error: incomplete definition of type 'const struct rq_list'
>> include/linux/blk-mq.h:244:4: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:245:4: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:251:8: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:252:5: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:254:5: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:255:4: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:260:18: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:261:4: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:262:9: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:263:5: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:268:25: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:271:5: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:271:16: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:272:10: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:273:6: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:282:11: error: incomplete definition of type 'struct rq_list'
--
make[3]: *** [rust/Makefile:332: rust/bindings/bindings_helpers_generated.rs] Error 1 shuffle=1823093635
make[3]: *** Deleting file 'rust/bindings/bindings_helpers_generated.rs'
>> include/linux/blkdev.h:1699:17: error: field has incomplete type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
>> include/linux/blk-mq.h:239:11: error: incomplete definition of type 'const struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
>> include/linux/blk-mq.h:244:4: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:245:4: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:251:8: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:252:5: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:254:5: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:255:4: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:260:18: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:261:4: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:262:9: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:263:5: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:268:25: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:271:5: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:271:16: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:272:10: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:273:6: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:282:11: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1699:9: note: forward declaration of 'struct rq_list'
include/linux/mman.h:137:21: warning: division by zero is undefined [-Wdivision-by-zero]
include/linux/mman.h:137:21: warning: division by zero is undefined [-Wdivision-by-zero]
clang diag: include/linux/mman.h:137:21: warning: division by zero is undefined [-Wdivision-by-zero]
clang diag: include/linux/mman.h:137:21: warning: division by zero is undefined [-Wdivision-by-zero]
>> Unable to generate bindings: clang diagnosed error: include/linux/blkdev.h:1699:17: error: field has incomplete type 'struct rq_list'
>> include/linux/blk-mq.h:239:11: error: incomplete definition of type 'const struct rq_list'
>> include/linux/blk-mq.h:244:4: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:245:4: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:251:8: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:252:5: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:254:5: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:255:4: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:260:18: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:261:4: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:262:9: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:263:5: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:268:25: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:271:5: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:271:16: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:272:10: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:273:6: error: incomplete definition of type 'struct rq_list'
include/linux/blk-mq.h:282:11: error: incomplete definition of type 'struct rq_list'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for USB_PHY
Depends on [n]: USB_SUPPORT [=n]
Selected by [y]:
- GKI_HIDDEN_USB_CONFIGS [=y]
WARNING: unmet direct dependencies detected for NET_DEVLINK
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_NET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WEXT_PROC
Depends on [n]: NET [=n] && WIRELESS [=n] && PROC_FS [=y] && WEXT_CORE [=y]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for DIMLIB
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_VIRTUAL_CONFIGS [=y]
WARNING: unmet direct dependencies detected for PAGE_POOL
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_NET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WEXT_PRIV
Depends on [n]: NET [=n] && WIRELESS [=n]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for NET_PTP_CLASSIFY
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_NET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for PHYLINK
Depends on [n]: NETDEVICES [=n]
Selected by [y]:
- GKI_HIDDEN_ETHERNET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for DRM_MIPI_DSI
Depends on [n]: HAS_IOMEM [=y] && DRM [=n]
Selected by [y]:
- GKI_HIDDEN_DRM_CONFIGS [=y]
WARNING: unmet direct dependencies detected for VIDEO_V4L2_SUBDEV_API
Depends on [n]: MEDIA_SUPPORT [=y] && VIDEO_DEV [=n] && MEDIA_CONTROLLER [=y]
Selected by [y]:
- GKI_HIDDEN_MEDIA_CONFIGS [=y]
WARNING: unmet direct dependencies detected for IOMMU_IO_PGTABLE_LPAE
Depends on [n]: IOMMU_SUPPORT [=n] && (ARM || ARM64 [=y] || COMPILE_TEST [=y]) && !GENERIC_ATOMIC64 [=n]
Selected by [y]:
- GKI_HIDDEN_QCOM_CONFIGS [=y] && ARCH_QCOM [=y] && 64BIT [=y]
WARNING: unmet direct dependencies detected for WIRELESS_EXT
Depends on [n]: NET [=n] && WIRELESS [=n]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for WEXT_CORE
Depends on [n]: NET [=n] && WIRELESS [=n] && (CFG80211_WEXT [=n] || WIRELESS_EXT [=y])
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for CAN_RX_OFFLOAD
Depends on [n]: NETDEVICES [=n] && CAN_DEV [=n] && CAN_NETLINK [=n]
Selected by [y]:
- GKI_HIDDEN_MCP251XFD_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WEXT_SPY
Depends on [n]: NET [=n] && WIRELESS [=n]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
vim +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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-17 17:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-17 17:11 [android-common:android16-6.12-2025-12 1/1] include/linux/blkdev.h:1699:17: error: field has incomplete type 'struct rq_list' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox