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]
Message-ID: <201706020636.f7Y8grvc%fengguang.wu@intel.com>
Date:   Fri, 2 Jun 2017 07:08:06 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Johannes Thumshirn <jthumshirn@...e.de>
Cc:     kbuild-all@...org, Christoph Hellwig <hch@....de>,
        Sagi Grimberg <sagi@...mberg.me>,
        Keith Busch <keith.busch@...el.com>,
        Hannes Reinecke <hare@...e.de>, maxg@...lanox.com,
        Linux NVMe Mailinglist <linux-nvme@...ts.infradead.org>,
        Linux Kernel Mailinglist <linux-kernel@...r.kernel.org>,
        Johannes Thumshirn <jthumshirn@...e.de>
Subject: Re: [PATCH v2 3/8] nvmet: implement namespace identify descriptor
 list

Hi Johannes,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.12-rc3 next-20170601]
[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/Johannes-Thumshirn/nvme-introduce-NVMe-Namespace-Identification-Descriptor-structures/20170601-224249
config: x86_64-randconfig-u0-06020557 (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=x86_64 

Note: the linux-review/Johannes-Thumshirn/nvme-introduce-NVMe-Namespace-Identification-Descriptor-structures/20170601-224249 HEAD eed0e29a990ae9332379fbaf71b249bb482b3c6b builds fine.
      It only hurts bisectibility.

All error/warnings (new ones prefixed by >>):

   In file included from include/uapi/linux/stddef.h:1:0,
                    from include/linux/stddef.h:4,
                    from include/uapi/linux/posix_types.h:4,
                    from include/uapi/linux/types.h:13,
                    from include/linux/types.h:5,
                    from include/linux/list.h:4,
                    from include/linux/module.h:9,
                    from drivers/nvme/target/admin-cmd.c:15:
   drivers/nvme/target/admin-cmd.c: In function 'nvmet_execute_identify_desclist':
>> drivers/nvme/target/admin-cmd.c:383:20: error: 'struct nvmet_ns' has no member named 'uuid'; did you mean 'nsid'?
     if (memchr_inv(&ns->uuid, 0, sizeof(ns->uuid))) {
                       ^
   include/linux/compiler.h:160:30: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                 ^~~~
>> drivers/nvme/target/admin-cmd.c:383:2: note: in expansion of macro 'if'
     if (memchr_inv(&ns->uuid, 0, sizeof(ns->uuid))) {
     ^~
   drivers/nvme/target/admin-cmd.c:383:40: error: 'struct nvmet_ns' has no member named 'uuid'; did you mean 'nsid'?
     if (memchr_inv(&ns->uuid, 0, sizeof(ns->uuid))) {
                                           ^
   include/linux/compiler.h:160:30: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                 ^~~~
>> drivers/nvme/target/admin-cmd.c:383:2: note: in expansion of macro 'if'
     if (memchr_inv(&ns->uuid, 0, sizeof(ns->uuid))) {
     ^~
>> drivers/nvme/target/admin-cmd.c:383:20: error: 'struct nvmet_ns' has no member named 'uuid'; did you mean 'nsid'?
     if (memchr_inv(&ns->uuid, 0, sizeof(ns->uuid))) {
                       ^
   include/linux/compiler.h:160:42: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                             ^~~~
>> drivers/nvme/target/admin-cmd.c:383:2: note: in expansion of macro 'if'
     if (memchr_inv(&ns->uuid, 0, sizeof(ns->uuid))) {
     ^~
   drivers/nvme/target/admin-cmd.c:383:40: error: 'struct nvmet_ns' has no member named 'uuid'; did you mean 'nsid'?
     if (memchr_inv(&ns->uuid, 0, sizeof(ns->uuid))) {
                                           ^
   include/linux/compiler.h:160:42: note: in definition of macro '__trace_if'
     if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
                                             ^~~~
>> drivers/nvme/target/admin-cmd.c:383:2: note: in expansion of macro 'if'
     if (memchr_inv(&ns->uuid, 0, sizeof(ns->uuid))) {
     ^~
>> drivers/nvme/target/admin-cmd.c:383:20: error: 'struct nvmet_ns' has no member named 'uuid'; did you mean 'nsid'?
     if (memchr_inv(&ns->uuid, 0, sizeof(ns->uuid))) {
                       ^
   include/linux/compiler.h:171:16: note: in definition of macro '__trace_if'
      ______r = !!(cond);     \
                   ^~~~
>> drivers/nvme/target/admin-cmd.c:383:2: note: in expansion of macro 'if'
     if (memchr_inv(&ns->uuid, 0, sizeof(ns->uuid))) {
     ^~
   drivers/nvme/target/admin-cmd.c:383:40: error: 'struct nvmet_ns' has no member named 'uuid'; did you mean 'nsid'?
     if (memchr_inv(&ns->uuid, 0, sizeof(ns->uuid))) {
                                           ^
   include/linux/compiler.h:171:16: note: in definition of macro '__trace_if'
      ______r = !!(cond);     \
                   ^~~~
>> drivers/nvme/target/admin-cmd.c:383:2: note: in expansion of macro 'if'
     if (memchr_inv(&ns->uuid, 0, sizeof(ns->uuid))) {
     ^~
   drivers/nvme/target/admin-cmd.c:392:43: error: 'struct nvmet_ns' has no member named 'uuid'; did you mean 'nsid'?
      status = nvmet_copy_to_sgl(req, off, &ns->uuid,
                                              ^~
   drivers/nvme/target/admin-cmd.c:393:18: error: 'struct nvmet_ns' has no member named 'uuid'; did you mean 'nsid'?
            sizeof(ns->uuid));
                     ^~
   drivers/nvme/target/admin-cmd.c:396:19: error: 'struct nvmet_ns' has no member named 'uuid'; did you mean 'nsid'?
      off += sizeof(ns->uuid);
                      ^~

vim +383 drivers/nvme/target/admin-cmd.c

   377		ns = nvmet_find_namespace(req->sq->ctrl, req->cmd->identify.nsid);
   378		if (!ns) {
   379			status = NVME_SC_INVALID_NS | NVME_SC_DNR;
   380			goto out;
   381		}
   382	
 > 383		if (memchr_inv(&ns->uuid, 0, sizeof(ns->uuid))) {
   384			memset(&hdr, 0, sizeof(hdr));
   385			hdr.nidt = NVME_NIDT_UUID;
   386			hdr.nidl = NVME_NIDT_UUID_LEN;

---
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" (25746 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ