From: kernel test robot <lkp@intel.com>
To: Christoph Hellwig <hch@lst.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [hch-block:blk-limits 42/45] drivers/block/ublk_drv.c:553:3: warning: void function 'ublk_apply_params' should not return a value
Date: Fri, 29 Dec 2023 20:47:23 +0800 [thread overview]
Message-ID: <202312292013.Q0hjKYNi-lkp@intel.com> (raw)
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
reply other threads:[~2023-12-29 12:48 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=202312292013.Q0hjKYNi-lkp@intel.com \
--to=lkp@intel.com \
--cc=hch@lst.de \
--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.