linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/infiniband/hw/mlx5/main.c:2357:31: error: 'mlx5_ib_get_vf_config' undeclared
@ 2016-04-03  4:53 kbuild test robot
  2016-04-04 14:22 ` Eli Cohen
  0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2016-04-03  4:53 UTC (permalink / raw)
  To: Eli Cohen; +Cc: kbuild-all, linux-kernel, Doug Ledford, Or Gerlitz

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

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 28047 bytes --]

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

* RE: drivers/infiniband/hw/mlx5/main.c:2357:31: error: 'mlx5_ib_get_vf_config' undeclared
  2016-04-03  4:53 drivers/infiniband/hw/mlx5/main.c:2357:31: error: 'mlx5_ib_get_vf_config' undeclared kbuild test robot
@ 2016-04-04 14:22 ` Eli Cohen
  2016-04-06 16:18   ` Doug Ledford
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Cohen @ 2016-04-04 14:22 UTC (permalink / raw)
  To: Doug Ledford (dledford@redhat.com); +Cc: linux-kernel, Doug Ledford, Or Gerlitz

Hi Doug,

Could you please pull this fix?

https://lkml.org/lkml/2016/3/23/132

Thanks

-----Original Message-----
From: kbuild test robot [mailto:fengguang.wu@intel.com] 
Sent: Saturday, April 02, 2016 11:54 PM
To: Eli Cohen <eli@mellanox.com>
Cc: kbuild-all@01.org; linux-kernel@vger.kernel.org; Doug Ledford <dledford@redhat.com>; Or Gerlitz <ogerlitz@mellanox.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

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

* Re: drivers/infiniband/hw/mlx5/main.c:2357:31: error: 'mlx5_ib_get_vf_config' undeclared
  2016-04-04 14:22 ` Eli Cohen
@ 2016-04-06 16:18   ` Doug Ledford
  0 siblings, 0 replies; 4+ messages in thread
From: Doug Ledford @ 2016-04-06 16:18 UTC (permalink / raw)
  To: Eli Cohen; +Cc: linux-kernel, Or Gerlitz


[-- Attachment #1.1: Type: text/plain, Size: 295 bytes --]

On 4/4/16 7:22 AM, Eli Cohen wrote:
> Hi Doug,
> 
> Could you please pull this fix?
> 
> https://lkml.org/lkml/2016/3/23/132

I've pulled the fix, once I have the 0day results back, I'll submit the
pull request.


-- 
Doug Ledford <dledford@redhat.com>
     GPG Key ID: 0E572FDD


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 907 bytes --]

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

* drivers/infiniband/hw/mlx5/main.c:2357:31: error: 'mlx5_ib_get_vf_config' undeclared
@ 2016-03-27  0:05 kbuild test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kbuild test robot @ 2016-03-27  0:05 UTC (permalink / raw)
  To: Eli Cohen; +Cc: kbuild-all, linux-kernel, Doug Ledford, Or Gerlitz

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f55532a0c0b8bb6148f4e07853b876ef73bc69ca
commit: eff901d30e6cebd940072637f112ce4d0090ac12 IB/mlx5: Implement callbacks for manipulating VFs
date:   5 days ago
config: x86_64-randconfig-s4-03270750 (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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 32822 bytes --]

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

end of thread, other threads:[~2016-04-06 16:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-03  4:53 drivers/infiniband/hw/mlx5/main.c:2357:31: error: 'mlx5_ib_get_vf_config' undeclared kbuild test robot
2016-04-04 14:22 ` Eli Cohen
2016-04-06 16:18   ` Doug Ledford
  -- strict thread matches above, loose matches on Subject: below --
2016-03-27  0:05 kbuild test robot

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).