[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200628.204436.799047852779320132.davem@davemloft.net>
Date: Sun, 28 Jun 2020 20:44:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: horatiu.vultur@...rochip.com
Cc: nikolay@...ulusnetworks.com, roopa@...ulusnetworks.com,
kuba@...nel.org, bridge@...ts.linux-foundation.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
UNGLinuxDriver@...rochip.com, lkp@...el.com
Subject: Re: [PATCH net] bridge: mrp: Fix endian conversion and some other
warnings
From: Horatiu Vultur <horatiu.vultur@...rochip.com>
Date: Sun, 28 Jun 2020 15:45:16 +0200
> The following sparse warnings are fixed:
> net/bridge/br_mrp.c:106:18: warning: incorrect type in assignment (different base types)
> net/bridge/br_mrp.c:106:18: expected unsigned short [usertype]
> net/bridge/br_mrp.c:106:18: got restricted __be16 [usertype]
> net/bridge/br_mrp.c:281:23: warning: incorrect type in argument 1 (different modifiers)
> net/bridge/br_mrp.c:281:23: expected struct list_head *entry
> net/bridge/br_mrp.c:281:23: got struct list_head [noderef] *
> net/bridge/br_mrp.c:332:28: warning: incorrect type in argument 1 (different modifiers)
> net/bridge/br_mrp.c:332:28: expected struct list_head *new
> net/bridge/br_mrp.c:332:28: got struct list_head [noderef] *
> net/bridge/br_mrp.c:332:40: warning: incorrect type in argument 2 (different modifiers)
> net/bridge/br_mrp.c:332:40: expected struct list_head *head
> net/bridge/br_mrp.c:332:40: got struct list_head [noderef] *
> net/bridge/br_mrp.c:682:29: warning: incorrect type in argument 1 (different modifiers)
> net/bridge/br_mrp.c:682:29: expected struct list_head const *head
> net/bridge/br_mrp.c:682:29: got struct list_head [noderef] *
>
> Reported-by: kernel test robot <lkp@...el.com>
> Fixes: 2f1a11ae11d222 ("bridge: mrp: Add MRP interface.")
> Fixes: 4b8d7d4c599182 ("bridge: mrp: Extend bridge interface")
> Fixes: 9a9f26e8f7ea30 ("bridge: mrp: Connect MRP API with the switchdev API")
> Signed-off-by: Horatiu Vultur <horatiu.vultur@...rochip.com>
Applied, thank you.
Powered by blists - more mailing lists