mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Leon Romanovsky <leonro@nvidia.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Saeed Mahameed <saeedm@nvidia.com>
Subject: [mellanox:queue-next 2/2] drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:416:7: error: 'struct bnxt_en_dev' has no member named 'en_ops'
Date: Wed, 21 Jul 2021 15:42:54 +0800	[thread overview]
Message-ID: <202107211544.CmuAiwwh-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git queue-next
head:   e3b8e3b12bdebe46dc5c2b8627b3d2b212e0b67d
commit: e3b8e3b12bdebe46dc5c2b8627b3d2b212e0b67d [2/2] Merge branch 'testing/rdma-next' into queue-next
config: i386-allyesconfig (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git/commit/?id=e3b8e3b12bdebe46dc5c2b8627b3d2b212e0b67d
        git remote add mellanox https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git
        git fetch --no-tags mellanox queue-next
        git checkout e3b8e3b12bdebe46dc5c2b8627b3d2b212e0b67d
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 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/net/ethernet/broadcom/bnxt/bnxt_ulp.c: In function 'bnxt_ulp_probe':
>> drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:416:7: error: 'struct bnxt_en_dev' has no member named 'en_ops'
     416 |   edev->en_ops = &bnxt_en_ops_tbl;
         |       ^~
>> drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:416:19: error: 'bnxt_en_ops_tbl' undeclared (first use in this function)
     416 |   edev->en_ops = &bnxt_en_ops_tbl;
         |                   ^~~~~~~~~~~~~~~
   drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c:416:19: note: each undeclared identifier is reported only once for each function it appears in

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for PHY_SPARX5_SERDES
   Depends on (ARCH_SPARX5 || COMPILE_TEST && OF && HAS_IOMEM
   Selected by
   - SPARX5_SWITCH && NETDEVICES && ETHERNET && NET_VENDOR_MICROCHIP && NET_SWITCHDEV && HAS_IOMEM && OF


vim +416 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c

a588e4580a7ecb Michael Chan 2016-12-07  405  
a588e4580a7ecb Michael Chan 2016-12-07  406  struct bnxt_en_dev *bnxt_ulp_probe(struct net_device *dev)
a588e4580a7ecb Michael Chan 2016-12-07  407  {
a588e4580a7ecb Michael Chan 2016-12-07  408  	struct bnxt *bp = netdev_priv(dev);
a588e4580a7ecb Michael Chan 2016-12-07  409  	struct bnxt_en_dev *edev;
a588e4580a7ecb Michael Chan 2016-12-07  410  
a588e4580a7ecb Michael Chan 2016-12-07  411  	edev = bp->edev;
a588e4580a7ecb Michael Chan 2016-12-07  412  	if (!edev) {
a588e4580a7ecb Michael Chan 2016-12-07  413  		edev = kzalloc(sizeof(*edev), GFP_KERNEL);
a588e4580a7ecb Michael Chan 2016-12-07  414  		if (!edev)
a588e4580a7ecb Michael Chan 2016-12-07  415  			return ERR_PTR(-ENOMEM);
a588e4580a7ecb Michael Chan 2016-12-07 @416  		edev->en_ops = &bnxt_en_ops_tbl;

:::::: The code at line 416 was first introduced by commit
:::::: a588e4580a7ecb715dab8bf09725b97aa0e0e3a0 bnxt_en: Add interface to support RDMA driver.

:::::: TO: Michael Chan <michael.chan@broadcom.com>
:::::: CC: David S. Miller <davem@davemloft.net>

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

                 reply	other threads:[~2021-07-21  7:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202107211544.CmuAiwwh-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=leonro@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=saeedm@nvidia.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®