* [hch-block:remove-blk_get_request 13/18] block/blk-mq.c:2464:14: warning: no previous prototype for function 'blk_mq_request_issue_directly'
@ 2021-10-22 0:26 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-22 0:26 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3029 bytes --]
tree: git://git.infradead.org/users/hch/block.git remove-blk_get_request
head: 466175155bbbc600d2493d2e69518cd0fe84bce0
commit: d6c17b39384f838a79faff786e94da3b693ed0dc [13/18] block: move request based cloning helpers to blk-mq.c
config: hexagon-randconfig-r045-20211021 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 3cea2505fd8d99a9ba0cb625aecfe28a47c4e3f8)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add hch-block git://git.infradead.org/users/hch/block.git
git fetch --no-tags hch-block remove-blk_get_request
git checkout d6c17b39384f838a79faff786e94da3b693ed0dc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> block/blk-mq.c:2464:14: warning: no previous prototype for function 'blk_mq_request_issue_directly' [-Wmissing-prototypes]
blk_status_t blk_mq_request_issue_directly(struct request *rq, bool last)
^
block/blk-mq.c:2464:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
blk_status_t blk_mq_request_issue_directly(struct request *rq, bool last)
^
static
1 warning generated.
vim +/blk_mq_request_issue_directly +2464 block/blk-mq.c
0f95549c0ea1e8 Mike Snitzer 2018-01-17 2463
fd9c40f64c514b Bart Van Assche 2019-04-04 @2464 blk_status_t blk_mq_request_issue_directly(struct request *rq, bool last)
fd9c40f64c514b Bart Van Assche 2019-04-04 2465 {
fd9c40f64c514b Bart Van Assche 2019-04-04 2466 blk_status_t ret;
fd9c40f64c514b Bart Van Assche 2019-04-04 2467 int srcu_idx;
fd9c40f64c514b Bart Van Assche 2019-04-04 2468 struct blk_mq_hw_ctx *hctx = rq->mq_hctx;
fd9c40f64c514b Bart Van Assche 2019-04-04 2469
fd9c40f64c514b Bart Van Assche 2019-04-04 2470 hctx_lock(hctx, &srcu_idx);
3e08773c3841e9 Christoph Hellwig 2021-10-12 2471 ret = __blk_mq_try_issue_directly(hctx, rq, true, last);
fd9c40f64c514b Bart Van Assche 2019-04-04 2472 hctx_unlock(hctx, srcu_idx);
fd9c40f64c514b Bart Van Assche 2019-04-04 2473
7f556a44e61d0b Jianchao Wang 2018-12-14 2474 return ret;
07068d5b8ed8fa Jens Axboe 2014-05-22 2475 }
07068d5b8ed8fa Jens Axboe 2014-05-22 2476
:::::: The code at line 2464 was first introduced by commit
:::::: fd9c40f64c514bdc585a21e2e33fa5f83ca8811b block: Revert v5.0 blk_mq_request_issue_directly() changes
:::::: TO: Bart Van Assche <bvanassche@acm.org>
:::::: CC: Jens Axboe <axboe@kernel.dk>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 28086 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-22 0:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22 0:26 [hch-block:remove-blk_get_request 13/18] block/blk-mq.c:2464:14: warning: no previous prototype for function 'blk_mq_request_issue_directly' 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.