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-lts 152/152] clang diag: include/linux/page_size_compat.h:136:16: warning: division by zero is undefined
Date: Mon, 16 Nov 2026 18:42:58 +0100 [thread overview]
Message-ID: <202611161825.tGeFio00-lkp@intel.com> (raw)
Hi Kalesh,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android16-6.12-lts
head: c5e3d3a3d3b60eb95c36e3c49dbfe7a34c220c5a
commit: d44ff7a3ed2e6df22bedad55abc1ac1c192095cc [152/152] ANDROID: 16K: Introduce rust __page_*() helpers
config: arm64-randconfig-2001-20261116 (https://download.01.org/0day-ci/archive/20261116/202611161825.tGeFio00-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261116/202611161825.tGeFio00-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/202611161825.tGeFio00-lkp@intel.com/
All warnings (new ones prefixed by >>):
make[3]: *** [rust/Makefile:332: rust/bindings/bindings_helpers_generated.rs] Error 1 shuffle=1536126295
make[3]: *** Deleting file 'rust/bindings/bindings_helpers_generated.rs'
include/linux/blkdev.h:1705:17: error: field has incomplete type 'struct rq_list'
include/linux/blkdev.h:1705:9: note: forward declaration of 'struct rq_list'
include/linux/blk-mq.h:239:11: error: incomplete definition of type 'struct rq_list'
include/linux/blkdev.h:1705: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:1705: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:1705: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:1705: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:1705: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:1705: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:1705: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:1705: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:1705: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:1705: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:1705: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:1705: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:1705: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:1705: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:1705: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:1705: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:1705:9: note: forward declaration of 'struct rq_list'
include/linux/mman.h:159:9: warning: division by zero is undefined [-Wdivision-by-zero]
include/linux/mman.h:160:9: warning: division by zero is undefined [-Wdivision-by-zero]
include/linux/page_size_compat.h:136:16: warning: division by zero is undefined [-Wdivision-by-zero]
clang diag: include/linux/mman.h:159:9: warning: division by zero is undefined [-Wdivision-by-zero]
clang diag: include/linux/mman.h:160:9: warning: division by zero is undefined [-Wdivision-by-zero]
>> clang diag: include/linux/page_size_compat.h:136:16: warning: division by zero is undefined [-Wdivision-by-zero]
Unable to generate bindings: clang diagnosed error: include/linux/blkdev.h:1705:17: error: field has incomplete type 'struct rq_list'
include/linux/blk-mq.h:239:11: error: incomplete definition of type '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'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-11-16 17:43 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=202611161825.tGeFio00-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.