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-next>] [day] [month] [year] [list]
Message-ID: <201604031243.l8YmkhyQ%fengguang.wu@intel.com>
Date:	Sun, 3 Apr 2016 12:53:45 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	Eli Cohen <eli@...lanox.com>
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	Doug Ledford <dledford@...hat.com>,
	Or Gerlitz <ogerlitz@...lanox.com>
Subject: drivers/infiniband/hw/mlx5/main.c:2357:31: error:
 'mlx5_ib_get_vf_config' undeclared

Hi Eli,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f7eeb8a87c033d126ff6b8c35405ba5dc4e55754
commit: eff901d30e6cebd940072637f112ce4d0090ac12 IB/mlx5: Implement callbacks for manipulating VFs
date:   12 days ago
config: x86_64-randconfig-n0-04031158 (attached as .config)
reproduce:
        git checkout eff901d30e6cebd940072637f112ce4d0090ac12
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/infiniband/hw/mlx5/main.c: In function 'mlx5_ib_add':
>> drivers/infiniband/hw/mlx5/main.c:2357:31: error: 'mlx5_ib_get_vf_config' undeclared (first use in this function)
      dev->ib_dev.get_vf_config = mlx5_ib_get_vf_config;
                                  ^
   drivers/infiniband/hw/mlx5/main.c:2357:31: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/infiniband/hw/mlx5/main.c:2358:35: error: 'mlx5_ib_set_vf_link_state' undeclared (first use in this function)
      dev->ib_dev.set_vf_link_state = mlx5_ib_set_vf_link_state;
                                      ^
>> drivers/infiniband/hw/mlx5/main.c:2359:30: error: 'mlx5_ib_get_vf_stats' undeclared (first use in this function)
      dev->ib_dev.get_vf_stats = mlx5_ib_get_vf_stats;
                                 ^
>> drivers/infiniband/hw/mlx5/main.c:2360:30: error: 'mlx5_ib_set_vf_guid' undeclared (first use in this function)
      dev->ib_dev.set_vf_guid  = mlx5_ib_set_vf_guid;
                                 ^

vim +/mlx5_ib_get_vf_config +2357 drivers/infiniband/hw/mlx5/main.c

  2351		dev->ib_dev.process_mad		= mlx5_ib_process_mad;
  2352		dev->ib_dev.alloc_mr		= mlx5_ib_alloc_mr;
  2353		dev->ib_dev.map_mr_sg		= mlx5_ib_map_mr_sg;
  2354		dev->ib_dev.check_mr_status	= mlx5_ib_check_mr_status;
  2355		dev->ib_dev.get_port_immutable  = mlx5_port_immutable;
  2356		if (mlx5_core_is_pf(mdev)) {
> 2357			dev->ib_dev.get_vf_config	= mlx5_ib_get_vf_config;
> 2358			dev->ib_dev.set_vf_link_state	= mlx5_ib_set_vf_link_state;
> 2359			dev->ib_dev.get_vf_stats	= mlx5_ib_get_vf_stats;
> 2360			dev->ib_dev.set_vf_guid		= mlx5_ib_set_vf_guid;
  2361		}
  2362	
  2363		mlx5_ib_internal_fill_odp_caps(dev);

---
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/octet-stream" (28047 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ