All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mikulas Patocka <mpatocka@redhat.com>
Cc: oe-kbuild-all@lists.linux.dev, Jens Axboe <axboe@kernel.dk>,
	Anuj Gupta <anuj20.g@samsung.com>,
	Kanchan Joshi <joshi.k@samsung.com>,
	Christoph Hellwig <hch@lst.de>
Subject: [axboe-block:for-next 94/104] include/linux/blk-integrity.h:151:16: error: incompatible types when returning type 'struct bio_vec' but 'struct bio_vec *' was expected
Date: Thu, 27 Jun 2024 05:33:07 +0800	[thread overview]
Message-ID: <202406270554.XMlaJCcq-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
head:   c1440ed442a58eb4060a58f7c1f85775b6bb72ae
commit: cf546dd289e0f6d2594c25e2fb4e19ee67c6d988 [94/104] block: change rq_integrity_vec to respect the iterator
config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20240627/202406270554.XMlaJCcq-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240627/202406270554.XMlaJCcq-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/202406270554.XMlaJCcq-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from block/bdev.c:15:
   include/linux/blk-integrity.h: In function 'rq_integrity_vec':
>> include/linux/blk-integrity.h:151:16: error: incompatible types when returning type 'struct bio_vec' but 'struct bio_vec *' was expected
     151 |         return (struct bio_vec){ };
         |                ^


vim +151 include/linux/blk-integrity.h

   147	
   148	static inline struct bio_vec *rq_integrity_vec(struct request *rq)
   149	{
   150		/* the optimizer will remove all calls to this function */
 > 151		return (struct bio_vec){ };
   152	}
   153	#endif /* CONFIG_BLK_DEV_INTEGRITY */
   154	

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

                 reply	other threads:[~2024-06-26 21:34 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=202406270554.XMlaJCcq-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=anuj20.g@samsung.com \
    --cc=axboe@kernel.dk \
    --cc=hch@lst.de \
    --cc=joshi.k@samsung.com \
    --cc=mpatocka@redhat.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.