[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201708250827.irRihDoq%fengguang.wu@intel.com>
Date: Fri, 25 Aug 2017 08:03:28 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Arkadi Sharshevsky <arkadis@...lanox.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org,
Jiri Pirko <jiri@...lanox.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'
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@...lanox.com>
:::::: CC: David S. Miller <davem@...emloft.net>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (31313 bytes)
Powered by blists - more mailing lists