All of lore.kernel.org
 help / color / mirror / Atom feed
* [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
@ 2024-06-26 21:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-26 21:33 UTC (permalink / raw)
  To: Mikulas Patocka
  Cc: oe-kbuild-all, Jens Axboe, Anuj Gupta, Kanchan Joshi,
	Christoph Hellwig

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-26 21:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26 21:33 [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 kernel test robot

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.