linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Javier González" <jg@lightnvm.io>
Cc: kbuild-all@01.org, mb@lightnvm.io, linux-block@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	"Javier González" <javier@cnexlabs.com>
Subject: Re: [PATCH 13/20] lightnvm: move block provisioning to targets
Date: Sat, 19 Nov 2016 02:20:05 +0800	[thread overview]
Message-ID: <201611190205.xcGHplZT%fengguang.wu@intel.com> (raw)
In-Reply-To: <1479480222-18790-14-git-send-email-javier@cnexlabs.com>

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

Hi Javier,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.9-rc5]
[cannot apply to next-20161117]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Javier-Gonz-lez/lightnvm-simplify-media-manager/20161119-005946
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from include/linux/kernel.h:11:0,
                    from include/linux/list.h:8,
                    from include/linux/pci.h:25,
                    from drivers/nvme/host/nvme.h:18,
                    from drivers/nvme/host/lightnvm.c:23:
   drivers/nvme/host/lightnvm.c: In function 'nvme_nvm_register':
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:87:23: note: in definition of macro 'ilog2'
     __builtin_constant_p(n) ? (  \
                          ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:88:4: note: in definition of macro 'ilog2'
      (n) < 1 ? ____ilog2_NaN() : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:89:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 63) ? 63 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:90:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 62) ? 62 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:91:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 61) ? 61 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:92:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 60) ? 60 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:93:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 59) ? 59 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:94:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 58) ? 58 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:95:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 57) ? 57 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:96:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 56) ? 56 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:97:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 55) ? 55 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:98:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 54) ? 54 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:99:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 53) ? 53 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:100:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 52) ? 52 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:101:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 51) ? 51 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:102:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 50) ? 50 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:103:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 49) ? 49 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:104:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 48) ? 48 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:105:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 47) ? 47 : \
       ^
>> drivers/nvme/host/lightnvm.c:623:27: error: 'struct nvm_dev' has no member named 'sec_size'
     ns->lba_shift = ilog2(dev->sec_size);
                              ^
   include/linux/log2.h:106:4: note: in definition of macro 'ilog2'
      (n) & (1ULL << 46) ? 46 : \
       ^

vim +623 drivers/nvme/host/lightnvm.c

40267efd Simon A. F. Lund 2016-09-16  617  	dev->parent_dev = ns->ctrl->device;
40267efd Simon A. F. Lund 2016-09-16  618  	dev->private_data = ns;
b0b4e09c Matias Bjørling  2016-09-16  619  	ns->ndev = dev;
b0b4e09c Matias Bjørling  2016-09-16  620  
b0b4e09c Matias Bjørling  2016-09-16  621  	ret = nvm_register(dev);
b0b4e09c Matias Bjørling  2016-09-16  622  
409ae5a7 Matias Bjørling  2016-11-10 @623  	ns->lba_shift = ilog2(dev->sec_size);
b0b4e09c Matias Bjørling  2016-09-16  624  
40267efd Simon A. F. Lund 2016-09-16  625  	if (sysfs_create_group(&dev->dev.kobj, attrs))
40267efd Simon A. F. Lund 2016-09-16  626  		pr_warn("%s: failed to create sysfs group for identification\n",

:::::: The code at line 623 was first introduced by commit
:::::: 409ae5a76e0505c8ffe1424f9c00dbf2ec7b5eea lightnvm: invalid offset calculation for lba_shift

:::::: TO: Matias Bjørling <m@bjorling.me>
:::::: CC: Jens Axboe <axboe@fb.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 56833 bytes --]

  reply	other threads:[~2016-11-18 18:21 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-18 14:43 [PATCH 00/20] lightnvm: simplify media manager Javier González
2016-11-18 14:43 ` [PATCH 01/20] lightnvm: enable to send hint to erase command Javier González
2016-11-18 14:43 ` [PATCH 02/20] lightnvm: do not protect block 0 Javier González
2016-11-18 14:43 ` [PATCH 03/20] lightnvm: export set bad block table Javier González
2016-11-18 14:43 ` [PATCH 04/20] lightnvm: add ECC error codes Javier González
2016-11-18 14:43 ` [PATCH 05/20] lightnvm: rrpc: split bios of size > 256kb Javier González
2016-11-18 14:43 ` [PATCH 06/20] lightnvm: remove sysfs configuration interface Javier González
2016-11-18 14:43 ` [PATCH 07/20] lightnvm: cleanup unused target operations Javier González
2016-11-18 14:43 ` [PATCH 08/20] lightnvm: make address conversion functions global Javier González
2016-11-18 14:43 ` [PATCH 09/20] lightnvm: remove unnecessary variables in rrpc Javier González
2016-11-18 14:43 ` [PATCH 10/20] lightnvm: use constant name instead of value Javier González
2016-11-18 14:43 ` [PATCH 11/20] lightnvm: remove gen_lun abstraction Javier González
2016-11-18 14:43 ` [PATCH 12/20] lightnvm: manage lun partitions internally in mm Javier González
2016-11-18 14:43 ` [PATCH 13/20] lightnvm: move block provisioning to targets Javier González
2016-11-18 18:20   ` kbuild test robot [this message]
2016-11-18 14:43 ` [PATCH 14/20] lightnvm: remove get_lun operation on gennvm Javier González
2016-11-18 14:43 ` [PATCH 15/20] lightnvm: remove debug lun statistics from gennvm Javier González
2016-11-18 14:43 ` [PATCH 16/20] lightnvm: eliminate nvm_block abstraction on mm Javier González
2016-11-18 18:45   ` kbuild test robot
2016-11-18 14:43 ` [PATCH 17/20] lightnvm: eliminate nvm_lun abstraction in mm Javier González
2016-11-18 14:43 ` [PATCH 18/20] lightnvm: introduce helpers for generic ops in rrpc Javier González
2016-11-18 14:43 ` [PATCH 19/20] lightnvm: introduce max_phys_sects helper function Javier González
2016-11-18 14:43 ` [PATCH 20/20] lightnvm: use target nvm on target-specific ops Javier González
2016-11-21 11:29 ` [PATCH 00/20] lightnvm: simplify media manager Matias Bjørling

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=201611190205.xcGHplZT%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=javier@cnexlabs.com \
    --cc=jg@lightnvm.io \
    --cc=kbuild-all@01.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mb@lightnvm.io \
    /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;
as well as URLs for NNTP newsgroup(s).