From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [hch-block:queuedata-cleanup 9/15] drivers/lightnvm/pblk.h:1258:20: error: 'struct nvm_tgt_dev' has no member named 'disk'
Date: Sat, 09 May 2020 02:07:17 +0800 [thread overview]
Message-ID: <202005090215.trFkCpZY%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2183 bytes --]
tree: git://git.infradead.org/users/hch/block.git queuedata-cleanup
head: dd63ee2684e43018b1303f56e90f845e178b58f0
commit: 62f6bd1fd7551bf666ffc7686dc161f043b3a862 [9/15] lightnvm: stop using ->queuedata
config: um-allmodconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout 62f6bd1fd7551bf666ffc7686dc161f043b3a862
# save the attached .config to linux build tree
make ARCH=um
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/lightnvm/pblk-init.c:22:0:
drivers/lightnvm/pblk.h: In function 'pblk_boundary_ppa_checks':
>> drivers/lightnvm/pblk.h:1258:20: error: 'struct nvm_tgt_dev' has no member named 'disk'
print_ppa(tgt_dev->disk->private_data, ppa, "boundary", i);
^~
vim +1258 drivers/lightnvm/pblk.h
1229
1230 static inline int pblk_boundary_ppa_checks(struct nvm_tgt_dev *tgt_dev,
1231 struct ppa_addr *ppas, int nr_ppas)
1232 {
1233 struct nvm_geo *geo = &tgt_dev->geo;
1234 struct ppa_addr *ppa;
1235 int i;
1236
1237 for (i = 0; i < nr_ppas; i++) {
1238 ppa = &ppas[i];
1239
1240 if (geo->version == NVM_OCSSD_SPEC_12) {
1241 if (!ppa->c.is_cached &&
1242 ppa->g.ch < geo->num_ch &&
1243 ppa->g.lun < geo->num_lun &&
1244 ppa->g.pl < geo->num_pln &&
1245 ppa->g.blk < geo->num_chk &&
1246 ppa->g.pg < geo->num_pg &&
1247 ppa->g.sec < geo->ws_min)
1248 continue;
1249 } else {
1250 if (!ppa->c.is_cached &&
1251 ppa->m.grp < geo->num_ch &&
1252 ppa->m.pu < geo->num_lun &&
1253 ppa->m.chk < geo->num_chk &&
1254 ppa->m.sec < geo->clba)
1255 continue;
1256 }
1257
> 1258 print_ppa(tgt_dev->disk->private_data, ppa, "boundary", i);
1259
1260 return 1;
1261 }
1262 return 0;
1263 }
1264
---
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: 22555 bytes --]
next reply other threads:[~2020-05-08 18:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-08 18:07 kbuild test robot [this message]
2020-05-09 11:22 [hch-block:queuedata-cleanup 9/15] drivers/lightnvm/pblk.h:1258:20: error: 'struct nvm_tgt_dev' has no member named 'disk' kbuild test robot
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=202005090215.trFkCpZY%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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 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.