mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
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
Date: Sun, 27 Mar 2016 08:05:25 +0800	[thread overview]
Message-ID: <201603270824.uIeBtoS6%fengguang.wu@intel.com> (raw)

[-- 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 --]

             reply	other threads:[~2016-03-27  0:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-27  0:05 kbuild test robot [this message]
2016-04-03  4:53 kbuild test robot
2016-04-04 14:22 ` Eli Cohen
2016-04-06 16:18   ` Doug Ledford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201603270824.uIeBtoS6%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=dledford@redhat.com \
    --cc=eli@mellanox.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ogerlitz@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®