From: kernel test robot <lkp@intel.com>
To: Gioh Kim <gi-oh.kim@cloud.ionos.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Jens Axboe <axboe@kernel.dk>,
Jack Wang <jinpu.wang@cloud.ionos.com>
Subject: drivers/block/rnbd/rnbd-clt.c:387:2: error: implicit declaration of function 'sg_free_table_chained'
Date: Fri, 8 Jan 2021 14:46:36 +0800 [thread overview]
Message-ID: <202101081429.0yyvkacR-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2497 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f5e6c330254ae691f6d7befe61c786eb5056007e
commit: 5a1328d0c3a757cdd8c65f4dfe0a02502a5810bc block/rnbd-clt: Dynamically allocate sglist for rnbd_iu
date: 3 weeks ago
config: parisc-randconfig-r011-20210108 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5a1328d0c3a757cdd8c65f4dfe0a02502a5810bc
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 5a1328d0c3a757cdd8c65f4dfe0a02502a5810bc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/block/rnbd/rnbd-clt.c: In function 'rnbd_softirq_done_fn':
>> drivers/block/rnbd/rnbd-clt.c:387:2: error: implicit declaration of function 'sg_free_table_chained' [-Werror=implicit-function-declaration]
387 | sg_free_table_chained(&iu->sgt, RNBD_INLINE_SG_CNT);
| ^~~~~~~~~~~~~~~~~~~~~
drivers/block/rnbd/rnbd-clt.c: In function 'rnbd_queue_rq':
>> drivers/block/rnbd/rnbd-clt.c:1142:8: error: implicit declaration of function 'sg_alloc_table_chained'; did you mean 'sg_alloc_table'? [-Werror=implicit-function-declaration]
1142 | err = sg_alloc_table_chained(&iu->sgt,
| ^~~~~~~~~~~~~~~~~~~~~~
| sg_alloc_table
cc1: some warnings being treated as errors
vim +/sg_free_table_chained +387 drivers/block/rnbd/rnbd-clt.c
379
380 static void rnbd_softirq_done_fn(struct request *rq)
381 {
382 struct rnbd_clt_dev *dev = rq->rq_disk->private_data;
383 struct rnbd_clt_session *sess = dev->sess;
384 struct rnbd_iu *iu;
385
386 iu = blk_mq_rq_to_pdu(rq);
> 387 sg_free_table_chained(&iu->sgt, RNBD_INLINE_SG_CNT);
388 rnbd_put_permit(sess, iu->permit);
389 blk_mq_end_request(rq, errno_to_blk_status(iu->errno));
390 }
391
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36780 bytes --]
next reply other threads:[~2021-01-08 6:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-08 6:46 kernel test robot [this message]
2021-01-08 6:58 ` Jinpu Wang
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=202101081429.0yyvkacR-lkp@intel.com \
--to=lkp@intel.com \
--cc=axboe@kernel.dk \
--cc=gi-oh.kim@cloud.ionos.com \
--cc=jinpu.wang@cloud.ionos.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®