Subject: Re: [net-next:master 40/65] net/bridge/br_input.c:135:8: error: too many arguments to function 'br_multicast_is_router'

From: Nikolay Aleksandrov <[email-masked]>
Date: Fri, 14 May 2021 13:12:12 +0300

On 14/05/2021 13:06, Naresh Kamboju wrote:
> [Please ignore this email if you already know these build failures]
> 
> + Adding maintainers
> 
> On Fri, 14 May 2021 at 06:35, kernel test robot <[email-masked]> wrote:
>>
>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
>> head:   ea89c862f01e02ec459932c7c3113fa37aedd09a
>> commit: 1a3065a26807b4cdd65d3b696ddb18385610f7da [40/65] net: bridge: mcast: prepare is-router function for mcast router split
>> config: um-randconfig-s032-20210514 (attached as .config)
>> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
>> reproduce:
>>         # apt-get install sparse
>>         # sparse version: v0.6.3-341-g8af24329-dirty
>>         # https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=1a3065a26807b4cdd65d3b696ddb18385610f7da
>>         git remote add net-next https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
>>         git fetch --no-tags net-next master
>>         git checkout 1a3065a26807b4cdd65d3b696ddb18385610f7da
>>         # save the attached .config to linux build tree
>>         make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=um
>>
>> If you fix the issue, kindly add following tag as appropriate
>> Reported-by: kernel test robot <[email-masked]>
>>
>> All errors (new ones prefixed by >>):
>>
>>    net/bridge/br_input.c: In function 'br_handle_frame_finish':
>>>> net/bridge/br_input.c:135:8: error: too many arguments to function 'br_multicast_is_router'
>>      135 |        br_multicast_is_router(br, skb)) {
>>          |        ^~~~~~~~~~~~~~~~~~~~~~
>>    In file included from net/bridge/br_input.c:23:
>>    net/bridge/br_private.h:1059:20: note: declared here
>>     1059 | static inline bool br_multicast_is_router(struct net_bridge *br)
>>          |                    ^~~~~~~~~~~~~~~~~~~~~~
>>

I have already sent a patch for this one:
https://patchwork.kernel.org/project/netdevbpf/patch/[email-masked]/