From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH net-next] devlink: Remove duplicated registration check
Date: Sun, 25 Jul 2021 23:58:35 +0800 [thread overview]
Message-ID: <202107252301.8ckIKBS4-lkp@intel.com> (raw)
In-Reply-To: <ed7bbb1e4c51dd58e6035a058e93d16f883b09ce.1627215829.git.leonro@nvidia.com>
[-- Attachment #1: Type: text/plain, Size: 3283 bytes --]
Hi Leon,
I love your patch! Yet something to improve:
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Leon-Romanovsky/devlink-Remove-duplicated-registration-check/20210725-202618
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git cc19862ffe454a5b632ca202e5a51bfec9f89fd2
config: alpha-allyesconfig (attached as .config)
compiler: alpha-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://github.com/0day-ci/linux/commit/2e93956fb49369674f9230f43f27c140fe4d277a
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Leon-Romanovsky/devlink-Remove-duplicated-registration-check/20210725-202618
git checkout 2e93956fb49369674f9230f43f27c140fe4d277a
# 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=alpha 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/mellanox/mlx5/core/en/devlink.c: In function 'mlx5e_devlink_port_unregister':
>> drivers/net/ethernet/mellanox/mlx5/core/en/devlink.c:58:13: error: 'struct devlink_port' has no member named 'registered'
58 | if (dl_port->registered)
| ^~
drivers/net/ethernet/mellanox/mlx5/core/en/devlink.c: In function 'mlx5e_get_devlink_port':
drivers/net/ethernet/mellanox/mlx5/core/en/devlink.c:70:10: error: 'struct devlink_port' has no member named 'registered'
70 | if (port->registered)
| ^~
--
drivers/net/ethernet/mellanox/mlx5/core/en_main.c: In function 'mlx5e_nic_init':
>> drivers/net/ethernet/mellanox/mlx5/core/en_main.c:4954:13: error: 'struct devlink_port' has no member named 'registered'
4954 | if (dl_port->registered)
| ^~
drivers/net/ethernet/mellanox/mlx5/core/en_main.c: In function 'mlx5e_nic_cleanup':
drivers/net/ethernet/mellanox/mlx5/core/en_main.c:4964:13: error: 'struct devlink_port' has no member named 'registered'
4964 | if (dl_port->registered)
| ^~
vim +58 drivers/net/ethernet/mellanox/mlx5/core/en/devlink.c
c6acd629eec754 Vladyslav Tarasiuk 2019-11-13 53
162add8cbae463 Parav Pandit 2020-03-03 54 void mlx5e_devlink_port_unregister(struct mlx5e_priv *priv)
c6acd629eec754 Vladyslav Tarasiuk 2019-11-13 55 {
c27971d08abecc Roi Dayan 2020-10-28 56 struct devlink_port *dl_port = mlx5e_devlink_get_dl_port(priv);
c27971d08abecc Roi Dayan 2020-10-28 57
6a5689ba0259ac Vladyslav Tarasiuk 2021-04-13 @58 if (dl_port->registered)
c27971d08abecc Roi Dayan 2020-10-28 59 devlink_port_unregister(dl_port);
c6acd629eec754 Vladyslav Tarasiuk 2019-11-13 60 }
c6acd629eec754 Vladyslav Tarasiuk 2019-11-13 61
---
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: 68211 bytes --]
next prev parent reply other threads:[~2021-07-25 15:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-25 12:24 [PATCH net-next] devlink: Remove duplicated registration check Leon Romanovsky
2021-07-25 15:58 ` kernel test robot [this message]
2021-07-25 18:37 ` Leon Romanovsky
2021-07-25 19:23 ` kernel test robot
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=202107252301.8ckIKBS4-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 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.