All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Bart Van Assche <bvanassche@acm.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [bvanassche:nbd 2/4] include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
Date: Tue, 29 Sep 2026 20:19:39 +0200	[thread overview]
Message-ID: <202609292048.pUUT53xB-lkp@intel.com> (raw)

tree:   https://github.com/bvanassche/linux nbd
head:   03319d5a61423e473e5419f8743fadf2a89b2e4b
commit: 6e637c10e9c9bc6b28c55f4937b315fbd06594de [2/4] block: Assign a name to the padding byte in struct blk_integrity
config: sparc-randconfig-r2307-20260929 (https://download.01.org/0day-ci/archive/20260929/202609292048.pUUT53xB-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 16.1.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260929/202609292048.pUUT53xB-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/202609292048.pUUT53xB-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   drivers/scsi/sr_vendor.c: note: in included file (through include/linux/cdrom.h):
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_debugfs.c: note: in included file (through include/scsi/scsi_cmnd.h):
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_lib_dma.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/sr_ioctl.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_trace.c: note: in included file (through include/scsi/scsi_cmnd.h, include/trace/events/scsi.h):
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_logging.c: note: in included file (through include/scsi/scsi_cmnd.h):
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_sysctl.c: note: in included file (through include/linux/blk-mq.h, include/scsi/scsi_device.h, drivers/scsi/scsi_priv.h):
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/constants.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_devinfo.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_bsg.c: note: in included file (through include/linux/blk-mq.h, include/linux/io_uring/cmd.h):
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_dh.c: note: in included file (through include/linux/blk-mq.h, include/scsi/scsi_device.h, include/scsi/scsi_dh.h):
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/sd_dif.c: note: in included file (through include/linux/blk-mq.h, include/linux/blk-integrity.h):
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_ioctl.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_netlink.c: note: in included file (through include/linux/blk-mq.h, include/scsi/scsi_device.h, drivers/scsi/scsi_priv.h):
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/hosts.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/sr.c: note: in included file (through include/linux/cdrom.h):
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/ch.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsicam.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_transport_sas.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_sysfs.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_scan.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_error.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_lib.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_transport_spi.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/sd.c: note: in included file:
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/st.c: note: in included file (through include/linux/cdrom.h):
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_transport_fc.c: note: in included file (through include/linux/bsg-lib.h):
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/scsi_transport_iscsi.c: note: in included file (through include/linux/bsg-lib.h):
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"
--
   drivers/scsi/device_handler/scsi_dh_emc.c: note: in included file (through include/scsi/scsi_cmnd.h, include/scsi/scsi_eh.h):
>> include/linux/blkdev.h:130:1: sparse: sparse: static assertion failed: "sizeof(struct blk_integrity) == 8"

vim +130 include/linux/blkdev.h

   129	
 > 130	static_assert(sizeof(struct blk_integrity) == 8);
   131	

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

                 reply	other threads:[~2026-09-29 18: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=202609292048.pUUT53xB-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bvanassche@acm.org \
    --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.