lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 19 Nov 2016 02:20:05 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Javier González <jg@...htnvm.io>
Cc:     kbuild-all@...org, mb@...htnvm.io, linux-block@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        Javier González <javier@...xlabs.com>
Subject: Re: [PATCH 13/20] lightnvm: move block provisioning to targets

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@...rling.me>
:::::: CC: Jens Axboe <axboe@...com>

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

Download attachment ".config.gz" of type "application/gzip" (56833 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ