All of lore.kernel.org
 help / color / mirror / Atom feed
* [hch-block:queuedata-cleanup 9/15] drivers/lightnvm/pblk.h:1258:20: error: 'struct nvm_tgt_dev' has no member named 'disk'
@ 2020-05-09 11:22 kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-05-09 11:22 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2189 bytes --]

tree:   git://git.infradead.org/users/hch/block.git queuedata-cleanup
head:   6197ca03bd7cb129904b66f14ea6474fd778a30d
commit: 08aa3a409b328be206825d00fd29376b747973f5 [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 08aa3a409b328be206825d00fd29376b747973f5
        # 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->q->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->q->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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [hch-block:queuedata-cleanup 9/15] drivers/lightnvm/pblk.h:1258:20: error: 'struct nvm_tgt_dev' has no member named 'disk'
@ 2020-05-08 18:07 kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-05-08 18:07 UTC (permalink / raw)
  To: kbuild-all

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-09 11:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2020-05-08 18:07 kbuild 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.