From: David Ahern <dsahern@gmail.com>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org
Subject: Re: [net-next:master 304/314] drivers/net/ethernet/mellanox/mlxsw/spectrum.c:3878:8: error: too few arguments to function 'devlink_resource_register'
Date: Thu, 22 Mar 2018 19:53:38 -0600 [thread overview]
Message-ID: <42d94112-06fe-77ea-1eba-b0da591dda88@gmail.com> (raw)
In-Reply-To: <201803230852.Y4PG4qcn%fengguang.wu@intel.com>
On 3/22/18 6:47 PM, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
> head: 6686c459e1449a3ee5f3fd313b0a559ace7a700e
> commit: 145307460ba9c11489807de7acd3f4c7395f60b7 [304/314] devlink: Remove top_hierarchy arg to devlink_resource_register
> config: x86_64-randconfig-s1-03230751 (attached as .config)
> compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
> reproduce:
> git checkout 145307460ba9c11489807de7acd3f4c7395f60b7
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> All error/warnings (new ones prefixed by >>):
>
> drivers/net/ethernet/mellanox/mlxsw/spectrum.c: In function 'mlxsw_sp_resources_register':
>>> drivers/net/ethernet/mellanox/mlxsw/spectrum.c:3881:6: warning: passing argument 6 of 'devlink_resource_register' makes integer from pointer without a cast [-Wint-conversion]
> &kvd_size_params,
> ^
> In file included from drivers/net/ethernet/mellanox/mlxsw/core.h:47:0,
> from drivers/net/ethernet/mellanox/mlxsw/spectrum.h:54,
> from drivers/net/ethernet/mellanox/mlxsw/spectrum.c:64:
> include/net/devlink.h:560:1: note: expected 'u64 {aka long long unsigned int}' but argument is of type 'struct devlink_resource_size_params *'
> devlink_resource_register(struct devlink *devlink,
> ^~~~~~~~~~~~~~~~~~~~~~~~~
I just did another full build (allmodconfig) on net-next and did not hit
this error.
next prev parent reply other threads:[~2018-03-23 1:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-23 0:47 [net-next:master 304/314] drivers/net/ethernet/mellanox/mlxsw/spectrum.c:3878:8: error: too few arguments to function 'devlink_resource_register' kbuild test robot
2018-03-23 1:53 ` David Ahern [this message]
2018-03-23 6:53 ` Jiri Pirko
2018-03-23 14:33 ` David Ahern
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=42d94112-06fe-77ea-1eba-b0da591dda88@gmail.com \
--to=dsahern@gmail.com \
--cc=fengguang.wu@intel.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;
as well as URLs for NNTP newsgroup(s).