All of lore.kernel.org
 help / color / mirror / Atom feed
* [hch-block:blk-limits 42/45] drivers/block/ublk_drv.c:553:3: warning: void function 'ublk_apply_params' should not return a value
@ 2023-12-29 12:47 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-29 12:47 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: oe-kbuild-all

tree:   git://git.infradead.org/users/hch/block.git blk-limits
head:   337f45dec9ea74309924c682e15eeef50d86b1d9
commit: fa418d7e2366114b7f36e185c96b015b387003aa [42/45] ublk: pass queue_limits to blk_mq_alloc_disk
config: arm-randconfig-003-20231229 (https://download.01.org/0day-ci/archive/20231229/202312292013.Q0hjKYNi-lkp@intel.com/config)
compiler: clang version 18.0.0git (https://github.com/llvm/llvm-project 8a4266a626914765c0c69839e8a51be383013c1a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231229/202312292013.Q0hjKYNi-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/202312292013.Q0hjKYNi-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/block/ublk_drv.c:553:3: warning: void function 'ublk_apply_params' should not return a value [-Wreturn-type]
     553 |                 return ublk_dev_param_zoned_apply(ub);
         |                 ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 warning generated.


vim +/ublk_apply_params +553 drivers/block/ublk_drv.c

0aa73170eba5ea Ming Lei          2022-07-30  547  
fa418d7e236611 Christoph Hellwig 2023-12-24  548  static void ublk_apply_params(struct ublk_device *ub)
0aa73170eba5ea Ming Lei          2022-07-30  549  {
0aa73170eba5ea Ming Lei          2022-07-30  550  	ublk_dev_param_basic_apply(ub);
0aa73170eba5ea Ming Lei          2022-07-30  551  
29802d7ca33bc0 Andreas Hindborg  2023-08-04  552  	if (ub->params.types & UBLK_PARAM_TYPE_ZONED)
29802d7ca33bc0 Andreas Hindborg  2023-08-04 @553  		return ublk_dev_param_zoned_apply(ub);
0aa73170eba5ea Ming Lei          2022-07-30  554  }
0aa73170eba5ea Ming Lei          2022-07-30  555  

:::::: The code at line 553 was first introduced by commit
:::::: 29802d7ca33bc0a75c9da2a143eeed4f9e99fca4 ublk: enable zoned storage support

:::::: TO: Andreas Hindborg <a.hindborg@samsung.com>
:::::: CC: Jens Axboe <axboe@kernel.dk>

-- 
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:[~2023-12-29 12:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-29 12:47 [hch-block:blk-limits 42/45] drivers/block/ublk_drv.c:553:3: warning: void function 'ublk_apply_params' should not return a value 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.