All of lore.kernel.org
 help / color / mirror / Atom feed
* [hare-scsi-devel:auth.v2 14/15] drivers/nvme/host/fault_inject.c:53:11: error: 'struct nvme_fault_inject' has no member named 'auth_step'
@ 2021-08-05 17:15 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-05 17:15 UTC (permalink / raw)
  To: Hannes Reinecke; +Cc: kbuild-all, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git auth.v2
head:   a9934e3c1c89f0bdcf74245205d986814767ecc1
commit: 85ee269b287e80a58fe7a2d679249a05723a9dbd [14/15] nvme-auth: fault injection for authentication steps
config: openrisc-randconfig-r024-20210805 (attached as .config)
compiler: or1k-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git/commit/?id=85ee269b287e80a58fe7a2d679249a05723a9dbd
        git remote add hare-scsi-devel https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git
        git fetch --no-tags hare-scsi-devel auth.v2
        git checkout 85ee269b287e80a58fe7a2d679249a05723a9dbd
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=openrisc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/nvme/host/fault_inject.c: In function 'nvme_fault_inject_init':
>> drivers/nvme/host/fault_inject.c:53:11: error: 'struct nvme_fault_inject' has no member named 'auth_step'
      53 |  fault_inj->auth_step = fail_auth_step;
         |           ^~
>> drivers/nvme/host/fault_inject.c:53:25: error: 'fail_auth_step' undeclared (first use in this function)
      53 |  fault_inj->auth_step = fail_auth_step;
         |                         ^~~~~~~~~~~~~~
   drivers/nvme/host/fault_inject.c:53:25: note: each undeclared identifier is reported only once for each function it appears in


vim +53 drivers/nvme/host/fault_inject.c

    23	
    24	void nvme_fault_inject_init(struct nvme_fault_inject *fault_inj,
    25				    const char *dev_name)
    26	{
    27		struct dentry *dir, *parent;
    28		struct fault_attr *attr = &fault_inj->attr;
    29	
    30		/* set default fault injection attribute */
    31		if (fail_request)
    32			setup_fault_attr(&fail_default_attr, fail_request);
    33	
    34		/* create debugfs directory and attribute */
    35		parent = debugfs_create_dir(dev_name, NULL);
    36		if (!parent) {
    37			pr_warn("%s: failed to create debugfs directory\n", dev_name);
    38			return;
    39		}
    40	
    41		*attr = fail_default_attr;
    42		dir = fault_create_debugfs_attr("fault_inject", parent, attr);
    43		if (IS_ERR(dir)) {
    44			pr_warn("%s: failed to create debugfs attr\n", dev_name);
    45			debugfs_remove_recursive(parent);
    46			return;
    47		}
    48		fault_inj->parent = parent;
    49	
    50		/* create debugfs for status code and dont_retry */
    51		fault_inj->status = NVME_SC_INVALID_OPCODE;
    52		fault_inj->dont_retry = true;
  > 53		fault_inj->auth_step = fail_auth_step;
    54		debugfs_create_x16("status", 0600, dir,	&fault_inj->status);
    55		debugfs_create_bool("dont_retry", 0600, dir, &fault_inj->dont_retry);
    56	#ifdef CONFIG_NVME_AUTH
    57		debugfs_create_x8("auth_step", 0600, dir, &fault_inj->auth_step);
    58	#endif
    59	}
    60	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

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

* [hare-scsi-devel:auth.v2 14/15] drivers/nvme/host/fault_inject.c:53:11: error: 'struct nvme_fault_inject' has no member named 'auth_step'
@ 2021-08-05 17:15 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-05 17:15 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git auth.v2
head:   a9934e3c1c89f0bdcf74245205d986814767ecc1
commit: 85ee269b287e80a58fe7a2d679249a05723a9dbd [14/15] nvme-auth: fault injection for authentication steps
config: openrisc-randconfig-r024-20210805 (attached as .config)
compiler: or1k-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git/commit/?id=85ee269b287e80a58fe7a2d679249a05723a9dbd
        git remote add hare-scsi-devel https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git
        git fetch --no-tags hare-scsi-devel auth.v2
        git checkout 85ee269b287e80a58fe7a2d679249a05723a9dbd
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=openrisc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/nvme/host/fault_inject.c: In function 'nvme_fault_inject_init':
>> drivers/nvme/host/fault_inject.c:53:11: error: 'struct nvme_fault_inject' has no member named 'auth_step'
      53 |  fault_inj->auth_step = fail_auth_step;
         |           ^~
>> drivers/nvme/host/fault_inject.c:53:25: error: 'fail_auth_step' undeclared (first use in this function)
      53 |  fault_inj->auth_step = fail_auth_step;
         |                         ^~~~~~~~~~~~~~
   drivers/nvme/host/fault_inject.c:53:25: note: each undeclared identifier is reported only once for each function it appears in


vim +53 drivers/nvme/host/fault_inject.c

    23	
    24	void nvme_fault_inject_init(struct nvme_fault_inject *fault_inj,
    25				    const char *dev_name)
    26	{
    27		struct dentry *dir, *parent;
    28		struct fault_attr *attr = &fault_inj->attr;
    29	
    30		/* set default fault injection attribute */
    31		if (fail_request)
    32			setup_fault_attr(&fail_default_attr, fail_request);
    33	
    34		/* create debugfs directory and attribute */
    35		parent = debugfs_create_dir(dev_name, NULL);
    36		if (!parent) {
    37			pr_warn("%s: failed to create debugfs directory\n", dev_name);
    38			return;
    39		}
    40	
    41		*attr = fail_default_attr;
    42		dir = fault_create_debugfs_attr("fault_inject", parent, attr);
    43		if (IS_ERR(dir)) {
    44			pr_warn("%s: failed to create debugfs attr\n", dev_name);
    45			debugfs_remove_recursive(parent);
    46			return;
    47		}
    48		fault_inj->parent = parent;
    49	
    50		/* create debugfs for status code and dont_retry */
    51		fault_inj->status = NVME_SC_INVALID_OPCODE;
    52		fault_inj->dont_retry = true;
  > 53		fault_inj->auth_step = fail_auth_step;
    54		debugfs_create_x16("status", 0600, dir,	&fault_inj->status);
    55		debugfs_create_bool("dont_retry", 0600, dir, &fault_inj->dont_retry);
    56	#ifdef CONFIG_NVME_AUTH
    57		debugfs_create_x8("auth_step", 0600, dir, &fault_inj->auth_step);
    58	#endif
    59	}
    60	

---
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: 34290 bytes --]

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

end of thread, other threads:[~2021-08-05 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 17:15 [hare-scsi-devel:auth.v2 14/15] drivers/nvme/host/fault_inject.c:53:11: error: 'struct nvme_fault_inject' has no member named 'auth_step' kernel test robot
2021-08-05 17:15 ` kernel 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.