From: kbuild test robot <fengguang.wu@intel.com>
To: Arkadi Sharshevsky <arkadis@mellanox.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org,
Jiri Pirko <jiri@mellanox.com>
Subject: [net-next:master 1324/1341] drivers/net//ethernet/mellanox/mlxsw/spectrum_dpipe.c:323:9: error: too few arguments to function 'devlink_dpipe_table_register'
Date: Fri, 25 Aug 2017 08:03:28 +0800 [thread overview]
Message-ID: <201708250827.irRihDoq%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2474 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: 39a7e5892418514db114ea4842d7d88aee6a61b8
commit: ffd3cdccf214cf0df08856a6738544076c4cd548 [1324/1341] devlink: Add support for dynamic table size
config: i386-randconfig-sb0-08250550 (attached as .config)
compiler: gcc-5 (Debian 5.4.1-2) 5.4.1 20160904
reproduce:
git checkout ffd3cdccf214cf0df08856a6738544076c4cd548
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/net//ethernet/mellanox/mlxsw/spectrum_dpipe.c: In function 'mlxsw_sp_dpipe_erif_table_init':
>> drivers/net//ethernet/mellanox/mlxsw/spectrum_dpipe.c:323:9: error: too few arguments to function 'devlink_dpipe_table_register'
return devlink_dpipe_table_register(devlink,
^
In file included from drivers/net//ethernet/mellanox/mlxsw/spectrum_dpipe.c:36:0:
include/net/devlink.h:401:1: note: declared here
devlink_dpipe_table_register(struct devlink *devlink,
^
drivers/net//ethernet/mellanox/mlxsw/spectrum_dpipe.c:327:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
vim +/devlink_dpipe_table_register +323 drivers/net//ethernet/mellanox/mlxsw/spectrum_dpipe.c
d54b70fe Arkadi Sharshevsky 2017-03-28 318
d54b70fe Arkadi Sharshevsky 2017-03-28 319 static int mlxsw_sp_dpipe_erif_table_init(struct mlxsw_sp *mlxsw_sp)
d54b70fe Arkadi Sharshevsky 2017-03-28 320 {
d54b70fe Arkadi Sharshevsky 2017-03-28 321 struct devlink *devlink = priv_to_devlink(mlxsw_sp->core);
d54b70fe Arkadi Sharshevsky 2017-03-28 322
d54b70fe Arkadi Sharshevsky 2017-03-28 @323 return devlink_dpipe_table_register(devlink,
d54b70fe Arkadi Sharshevsky 2017-03-28 324 MLXSW_SP_DPIPE_TABLE_NAME_ERIF,
d54b70fe Arkadi Sharshevsky 2017-03-28 325 &mlxsw_sp_erif_ops,
ffd3cdcc Arkadi Sharshevsky 2017-08-24 326 mlxsw_sp, false);
d54b70fe Arkadi Sharshevsky 2017-03-28 327 }
d54b70fe Arkadi Sharshevsky 2017-03-28 328
:::::: The code at line 323 was first introduced by commit
:::::: d54b70feb696f0d110626438432d0acec3cb4752 mlxsw: spectrum: Add definition for egress rif table
:::::: TO: Arkadi Sharshevsky <arkadis@mellanox.com>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31313 bytes --]
next reply other threads:[~2017-08-25 0:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-25 0:03 kbuild test robot [this message]
2017-08-25 1:11 ` [net-next:master 1324/1341] drivers/net//ethernet/mellanox/mlxsw/spectrum_dpipe.c:323:9: error: too few arguments to function 'devlink_dpipe_table_register' David Miller
2017-08-25 9:59 ` Arkadi Sharshevsky
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=201708250827.irRihDoq%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=arkadis@mellanox.com \
--cc=jiri@mellanox.com \
--cc=kbuild-all@01.org \
--cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox