[v2,5/5] batman-adv: mcast: shrink tracker packet after scrubbing

Message ID 20221226161554.9657-6-linus.luessing@c0d3.blue (mailing list archive)
State Superseded, archived
Delegated to: Simon Wunderlich
Headers
Series Implementation of a Stateless Multicast Packet Type |

Commit Message

Linus Lüssing Dec. 26, 2022, 4:15 p.m. UTC
  Remove all zero MAC address entries (00:00:00:00:00:00) from a multicast
packet's tracker TVLV before transmitting it and update all headers
accordingly. This way, instead of keeping the multicast packet at a
constant size throughout its journey through the mesh, it will become
more lightweight, smaller with every interested receiver on the way and
on each splitting intersection. Which can save some valuable bandwidth.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
---
 net/batman-adv/multicast_forw.c | 207 ++++++++++++++++++++++++++++++++
 1 file changed, 207 insertions(+)
  

Comments

Sven Eckelmann Dec. 26, 2022, 6:50 p.m. UTC | #1
On Monday, 26 December 2022 17:15:54 CET Linus Lüssing wrote:
> Remove all zero MAC address entries (00:00:00:00:00:00) from a multicast
> packet's tracker TVLV before transmitting it and update all headers
> accordingly. This way, instead of keeping the multicast packet at a
> constant size throughout its journey through the mesh, it will become
> more lightweight, smaller with every interested receiver on the way and
> on each splitting intersection. Which can save some valuable bandwidth.
> 
> Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
> ---
>  net/batman-adv/multicast_forw.c | 207 ++++++++++++++++++++++++++++++++
>  1 file changed, 207 insertions(+)

Name of failed tests
====================

ecsv/pu
-------

 * checkpatch ./net/batman-adv/multicast_forw.c
 * headers
 * kerneldoc ./net/batman-adv/multicast_forw.c
 * sparse linux-4.10 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-4.10 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=n MCAST=n BATMAN_V=y
 * sparse linux-4.10 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
 * sparse linux-4.10 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=y
 * sparse linux-4.11 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-4.11 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=y
 * sparse linux-4.11 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.11 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-4.11 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-4.11 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-4.13 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-4.13 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.14 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-4.14 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-4.14 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-4.14 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-4.14 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-4.14 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-4.15 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-4.15 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.15 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=y
 * sparse linux-4.16 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-4.16 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-4.16 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=y
 * sparse linux-4.16 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-4.17 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
 * sparse linux-4.17 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
 * sparse linux-4.17 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-4.17 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=y
 * sparse linux-4.18 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-4.18 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.18 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-4.18 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-4.18 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-4.18 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-4.19 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-4.19 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
 * sparse linux-4.19 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-4.19.269 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-4.19.269 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=n MCAST=n BATMAN_V=y
 * sparse linux-4.19.269 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-4.19.269 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-4.20 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-4.20 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-4.20 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-4.9 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.9 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.9 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=n
 * sparse linux-4.9.336 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-4.9.336 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.0 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.0 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-5.0 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.0 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.1 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.10 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.10 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=y
 * sparse linux-5.10 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.10 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-5.10 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.10.159 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.10.159 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.11 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=y
 * sparse linux-5.11 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.11 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.11 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=y
 * sparse linux-5.11 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
 * sparse linux-5.11 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.11 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.11 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.12 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.12 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=y
 * sparse linux-5.12 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.13 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.13 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.13 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=y
 * sparse linux-5.14 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.15 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.15 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.15 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.15.83 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.15.83 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.16 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.16 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-5.16 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.16 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.16 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.17 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.17 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.18 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-5.18 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.2 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.2 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=y
 * sparse linux-5.2 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.2 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
 * sparse linux-5.3 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-5.4 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-5.4 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.4.227 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=n MCAST=n BATMAN_V=y
 * sparse linux-5.4.227 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.5 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.5 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.6 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.7 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.7 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.7 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.8 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.8 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.8 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-5.8 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.8 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-5.9 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.9 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.9 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.9 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=n MCAST=n BATMAN_V=y
 * sparse linux-6.0 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-6.0.13 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-6.0.13 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-6.1 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-6.1 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-6.1 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.10 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
 * unused_symbols linux-4.11 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-4.11 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.11 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-4.11 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-4.11 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-4.13 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-4.13 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.14 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-4.14 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-4.14 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-4.14 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-4.15 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
 * unused_symbols linux-4.15 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.15 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=y
 * unused_symbols linux-4.16 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-4.16 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-4.16 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=y
 * unused_symbols linux-4.17 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-4.17 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
 * unused_symbols linux-4.17 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-4.18 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-4.18 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.18 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
 * unused_symbols linux-4.18 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-4.18 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
 * unused_symbols linux-4.19 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
 * unused_symbols linux-4.19 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-4.19.269 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-4.20 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-4.20 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
 * unused_symbols linux-4.20 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=n
 * unused_symbols linux-4.9 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.9 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.9 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-4.9.336 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-4.9.336 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.0 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.0 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
 * unused_symbols linux-5.0 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
 * unused_symbols linux-5.1 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
 * unused_symbols linux-5.10 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.10 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=y
 * unused_symbols linux-5.10 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.10.159 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.10.159 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.11 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
 * unused_symbols linux-5.11 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.11 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-5.11 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.11 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.11 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.12 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.12 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.13 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.13 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.14 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.15 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.15 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.15 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=y
 * unused_symbols linux-5.15.83 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.15.83 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.16 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * unused_symbols linux-5.16 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.16 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=y
 * unused_symbols linux-5.16 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.17 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.17 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.18 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.2 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.2 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * unused_symbols linux-5.2 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-5.4 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
 * unused_symbols linux-5.4.227 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.5 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * unused_symbols linux-5.5 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * unused_symbols linux-5.6 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * unused_symbols linux-5.7 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.7 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=n
 * unused_symbols linux-5.7 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.8 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
 * unused_symbols linux-5.8 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * unused_symbols linux-5.8 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-5.8 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.9 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
 * unused_symbols linux-5.9 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.9 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * unused_symbols linux-6.0 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-6.1 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-6.1 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y


Output of different failed tests
================================

ecsv/pu: checkpatch ./net/batman-adv/multicast_forw.c
-----------------------------------------------------

    CHECK: Macro argument reuse 'num_dests' - possible side-effects?
    #24: FILE: ./net/batman-adv/multicast_forw.c:24:
    +#define batadv_mcast_forw_tracker_for_each_dest(dest, num_dests) \
    +   for (; num_dests; num_dests--, (dest) += ETH_ALEN)
    
    CHECK: Macro argument reuse 'num_dests' - possible side-effects?
    #27: FILE: ./net/batman-adv/multicast_forw.c:27:
    +#define batadv_mcast_forw_tracker_for_each_dest_rev(dest, num_dests) \
    +   for (; num_dests; num_dests--, (dest) -= ETH_ALEN)
    
    total: 0 errors, 0 warnings, 2 checks, 979 lines checked

ecsv/pu: headers
----------------

    diff --git a/net/batman-adv/multicast.c b/net/batman-adv/multicast.c
    index 85f4b070..2f07a325 100644
    --- a/net/batman-adv/multicast.c
    +++ b/net/batman-adv/multicast.c
    @@ -26,7 +26,6 @@
     #include <linux/ipv6.h>
     #include <linux/jiffies.h>
     #include <linux/kernel.h>
    -#include <linux/kref.h>
     #include <linux/list.h>
     #include <linux/lockdep.h>
     #include <linux/netdevice.h>
    diff --git a/net/batman-adv/multicast_forw.c b/net/batman-adv/multicast_forw.c
    index 068c4d86..e13d42fe 100644
    --- a/net/batman-adv/multicast_forw.c
    +++ b/net/batman-adv/multicast_forw.c
    @@ -6,19 +6,29 @@
     
     #include "main.h" // IWYU pragma: keep
     
    +#include <linux/bug.h>
    +#include <linux/build_bug.h>
    +#include <linux/byteorder/generic.h>
    +#include <linux/errno.h>
     #include <linux/etherdevice.h>
    +#include <linux/gfp.h>
     #include <linux/if_ether.h>
     #include <linux/if_vlan.h>
     #include <linux/ipv6.h>
    +#include <linux/limits.h>
     #include <linux/netdevice.h>
    +#include <linux/rculist.h>
    +#include <linux/rcupdate.h>
     #include <linux/skbuff.h>
    +#include <linux/stddef.h>
    +#include <linux/string.h>
     #include <linux/types.h>
    +#include <uapi/linux/batadv_packet.h>
     
     #include "bridge_loop_avoidance.h"
     #include "originator.h"
     #include "routing.h"
     #include "send.h"
    -#include "soft-interface.h"
     #include "translation-table.h"
     
     #define batadv_mcast_forw_tracker_for_each_dest(dest, num_dests) \
    diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c
    index 0ecb86b3..eb905740 100644
    --- a/net/batman-adv/routing.c
    +++ b/net/batman-adv/routing.c
    @@ -30,7 +30,6 @@
     #include "fragmentation.h"
     #include "hard-interface.h"
     #include "log.h"
    -#include "multicast.h"
     #include "network-coding.h"
     #include "originator.h"
     #include "send.h"
    diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c
    index b76b85b2..69334ef8 100644
    --- a/net/batman-adv/soft-interface.c
    +++ b/net/batman-adv/soft-interface.c
    @@ -48,7 +48,6 @@
     #include "hard-interface.h"
     #include "multicast.h"
     #include "network-coding.h"
    -#include "originator.h"
     #include "send.h"
     #include "translation-table.h"
     
    diff --git a/net/batman-adv/tvlv.h b/net/batman-adv/tvlv.h
    index d1c4e072..743688d1 100644
    --- a/net/batman-adv/tvlv.h
    +++ b/net/batman-adv/tvlv.h
    @@ -9,6 +9,7 @@
     
     #include "main.h" // IWYU pragma: keep
     
    +#include <linux/skbuff.h>
     #include <linux/types.h>
     #include <uapi/linux/batadv_packet.h>

ecsv/pu: kerneldoc ./net/batman-adv/multicast_forw.c
----------------------------------------------------

    ./net/batman-adv/multicast_forw.c:75: warning: Function parameter or member 'bat_priv' not described in 'batadv_mcast_forw_push_dest'
    ./net/batman-adv/multicast_forw.c:388: warning: Function parameter or member 'bat_priv' not described in 'batadv_mcast_forw_push_tvlvs'
    ./net/batman-adv/multicast_forw.c:540: warning: Function parameter or member 'num_dests_remove' not described in 'batadv_mcast_forw_shrink_align_offset'
    ./net/batman-adv/multicast_forw.c:540: warning: Excess function parameter 'num_dests_reduce' description in 'batadv_mcast_forw_shrink_align_offset'
    ./net/batman-adv/multicast_forw.c:639: warning: Function parameter or member 'num_dests_reduce' not described in 'batadv_mcast_forw_shrink_update_headers'
    ./net/batman-adv/multicast_forw.c:639: warning: Excess function parameter 'num_dest_reduce' description in 'batadv_mcast_forw_shrink_update_headers'

ecsv/pu: sparse linux-4.10 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:295: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:553: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1490: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.10 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    make[3]: *** [scripts/Makefile.build:295: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:553: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1490: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.11 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    make[3]: *** [scripts/Makefile.build:295: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:553: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1492: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.11 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:295: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:553: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1492: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.11 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:295: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:553: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1492: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.13 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:303: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:561: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1512: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.13 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:303: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:561: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1512: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.14 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:315: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:573: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1503: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.14 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=n MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    make[3]: *** [scripts/Makefile.build:315: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:573: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1503: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.14 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:315: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:573: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1503: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.15 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:317: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:575: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1508: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.15 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:317: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:575: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1508: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.16 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:323: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:581: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1556: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.16 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    make[3]: *** [scripts/Makefile.build:323: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:581: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1556: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.17 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:313: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:559: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1571: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.17 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:313: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:559: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1571: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.17 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    make[3]: *** [scripts/Makefile.build:313: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:559: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1571: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.18 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:318: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:558: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1500: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.18 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    make[3]: *** [scripts/Makefile.build:318: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:558: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1500: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.18 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:318: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:558: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1500: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.19 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    make[3]: *** [scripts/Makefile.build:306: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:546: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1517: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.19 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:306: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:546: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1517: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.19.269 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    make[3]: *** [scripts/Makefile.build:304: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:544: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1551: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.19.269 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:304: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:544: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1551: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.20 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:292: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:516: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1563: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.9 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:294: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:544: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1490: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.9.336 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:308: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:558: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1544: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-4.9.336 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:308: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:558: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1544: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.0 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:277: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:492: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1553: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.0 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=n MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    make[3]: *** [scripts/Makefile.build:277: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:492: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1553: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.1 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:276: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:486: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1571: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.10 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       src = ((struct batadv_unicast_tvlv_packet *)skb->data)->src;
       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:279: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:496: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1805: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.10 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:279: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:496: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1805: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.10.159 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:286: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:503: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1837: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.11 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:279: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:496: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1800: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.11 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       src = ((struct batadv_unicast_tvlv_packet *)skb->data)->src;
       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:279: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:496: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1800: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.11 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:279: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:496: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1800: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.12 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:271: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:514: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1851: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.12 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       src = ((struct batadv_unicast_tvlv_packet *)skb->data)->src;
       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:271: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:514: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1851: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.13 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:272: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:515: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1847: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.13 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       src = ((struct batadv_unicast_tvlv_packet *)skb->data)->src;
       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:272: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:515: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1847: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.14 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:271: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:514: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1851: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.15 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:277: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:540: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1868: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.15.83 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:289: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:552: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1902: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.16 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       src = ((struct batadv_unicast_tvlv_packet *)skb->data)->src;
       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:287: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:549: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1846: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.16 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:287: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:549: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1846: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.16 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:287: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:549: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1846: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.17 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:288: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:550: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1831: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.18 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       src = ((struct batadv_unicast_tvlv_packet *)skb->data)->src;
       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:288: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:550: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1834: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.18 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:288: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:550: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1834: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.2 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    make[3]: *** [scripts/Makefile.build:279: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:489: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1595: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.2 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:279: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:489: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1595: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.2 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:279: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:489: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1595: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.3 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       src = ((struct batadv_unicast_tvlv_packet *)skb->data)->src;
       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:281: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:497: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1624: _module_/home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.4 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       src = ((struct batadv_unicast_tvlv_packet *)skb->data)->src;
       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:266: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:509: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1652: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.4 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:266: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:509: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1652: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.4.227 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=n MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       src = ((struct batadv_unicast_tvlv_packet *)skb->data)->src;
       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:262: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:497: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1739: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.4.227 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:262: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:497: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1739: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.5 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:266: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:503: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1693: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.6 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:268: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:505: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1683: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.7 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:267: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:488: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1729: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.7 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:267: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:488: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1729: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.8 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:614:9: warning: statement expected after label
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:861:5: warning: symbol 'batadv_mcast_forw_tracker_tvlv_handler' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:876:14: warning: symbol 'batadv_mcast_forw_packet_hdrlen' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:933:6: warning: symbol 'batadv_mcast_forw_push' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:967:5: warning: symbol 'batadv_mcast_forw_mcsend' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:110:12: warning: context imbalance in 'batadv_mcast_forw_push_dests_list' - wrong count at exit
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:281: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:497: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1756: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.8 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:281: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:497: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1756: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.8 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       src = ((struct batadv_unicast_tvlv_packet *)skb->data)->src;
       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:281: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:497: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1756: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.9 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:283: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:500: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1784: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-5.9 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=n MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       src = ((struct batadv_unicast_tvlv_packet *)skb->data)->src;
       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:283: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:500: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1784: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-6.0 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:249: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:465: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1852: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-6.0.13 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       src = ((struct batadv_unicast_tvlv_packet *)skb->data)->src;
       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:249: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:465: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1852: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-6.1 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast.c:1206:1: warning: symbol 'batadv_mcast_forw_mode_by_count' was not declared. Should it be static?
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c: In function ‘batadv_mcast_forw_shrink_pack_dests’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.c:613:1: error: label at end of compound statement
     cont_next_slot:
     ^~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:250: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/multicast_forw.o] Error 1
    make[2]: *** [scripts/Makefile.build:500: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1992: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-6.1 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:389:3: error: a label can only be part of a statement and a declaration is not a statement
       u8 *src;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: error: ‘dst’ undeclared (first use in this function)
       dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
       ^~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:399:3: note: each undeclared identifier is reported only once for each function it appears in
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:405:3: error: a label can only be part of a statement and a declaration is not a statement
       unsigned int tvlv_offset;
       ^~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:398:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       src = ((struct batadv_unicast_tvlv_packet *)skb->data)->src;
       ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:250: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:500: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1992: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: sparse linux-6.1 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:163:16: warning: passing argument 4 of ‘batadv_tvlv_handler_register’ makes pointer from integer without a cast [-Wint-conversion]
              NULL, BATADV_TVLV_NC, 1,
                    ^~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:37:13: note: expected ‘int (*)(struct batadv_priv *, struct sk_buff *)’ but argument is of type ‘int’
           int (*mptr)(struct batadv_priv *bat_priv,
           ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                struct sk_buff *skb),
                ~~~~~~~~~~~~~~~~~~~~
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:162:2: error: too few arguments to function ‘batadv_tvlv_handler_register’
      batadv_tvlv_handler_register(bat_priv, batadv_nc_tvlv_ogm_handler_v1,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/tvlv.h:27:6: note: declared here
     void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:250: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:500: /home/build_test/build_env/tmp.Yn6tGCukvG/net/batman-adv] Error 2
    make[1]: *** [Makefile:1992: /home/build_test/build_env/tmp.Yn6tGCukvG] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: unused_symbols linux-4.11 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    batadv_algo_get
    batadv_algo_select
    batadv_broadcast_addr
    batadv_dat_drop_broadcast_packet
    batadv_dat_snoop_incoming_arp_reply
    batadv_dat_snoop_incoming_arp_request
    batadv_dat_snoop_incoming_dhcp_ack
    batadv_dat_snoop_outgoing_arp_reply
    batadv_dat_snoop_outgoing_arp_request
    batadv_dat_snoop_outgoing_dhcp_ack
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_min_mtu
    batadv_hash_set_lock_class
    batadv_mesh_free
    batadv_mesh_init
    batadv_netlink_tpmeter_notify
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-4.11 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    batadv_algo_get
    batadv_algo_select
    batadv_bla_check_bcast_duplist
    batadv_bla_is_backbone_gw
    batadv_bla_is_backbone_gw_orig
    batadv_bla_rx
    batadv_bla_tx
    batadv_broadcast_addr
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_min_mtu
    batadv_hardif_no_broadcast
    batadv_is_my_mac
    batadv_mesh_free
    batadv_mesh_init
    batadv_netlink_tpmeter_notify
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-4.17 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    batadv_algo_get
    batadv_algo_select
    batadv_broadcast_addr
    batadv_dat_drop_broadcast_packet
    batadv_dat_snoop_incoming_arp_reply
    batadv_dat_snoop_incoming_arp_request
    batadv_dat_snoop_incoming_dhcp_ack
    batadv_dat_snoop_outgoing_arp_reply
    batadv_dat_snoop_outgoing_arp_request
    batadv_dat_snoop_outgoing_dhcp_ack
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_min_mtu
    batadv_hardif_no_broadcast
    batadv_hash_set_lock_class
    batadv_is_my_mac
    batadv_mesh_free
    batadv_mesh_init
    batadv_netlink_tpmeter_notify
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-4.17 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    batadv_algo_dump
    batadv_algo_get
    batadv_algo_select
    batadv_bla_backbone_dump
    batadv_bla_check_bcast_duplist
    batadv_bla_claim_dump
    batadv_bla_is_backbone_gw
    batadv_bla_rx
    batadv_bla_status_update
    batadv_bla_tx
    batadv_broadcast_addr
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_dump
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_gw_tvlv_container_update
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_get_by_netdev
    batadv_hardif_min_mtu
    batadv_hardif_no_broadcast
    batadv_is_my_mac
    batadv_mcast_flags_dump
    batadv_mcast_forw_mode
    batadv_mcast_forw_mode_by_count
    batadv_mcast_forw_send
    batadv_mcast_mesh_info_put
    batadv_mcast_purge_orig
    batadv_mesh_free
    batadv_mesh_init
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_update_min_mtu
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-4.17 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    batadv_algo_dump
    batadv_algo_get
    batadv_algo_select
    batadv_bla_backbone_dump
    batadv_bla_check_bcast_duplist
    batadv_bla_claim_dump
    batadv_bla_is_backbone_gw
    batadv_bla_rx
    batadv_bla_status_update
    batadv_bla_tx
    batadv_broadcast_addr
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_dump
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_gw_tvlv_container_update
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_get_by_netdev
    batadv_hardif_min_mtu
    batadv_mcast_flags_dump
    batadv_mcast_forw_mode
    batadv_mcast_forw_mode_by_count
    batadv_mcast_forw_send
    batadv_mcast_mesh_info_put
    batadv_mcast_purge_orig
    batadv_mesh_free
    batadv_mesh_init
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_update_min_mtu
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-4.18 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    batadv_algo_get
    batadv_algo_select
    batadv_bla_check_bcast_duplist
    batadv_bla_is_backbone_gw
    batadv_bla_is_backbone_gw_orig
    batadv_bla_rx
    batadv_bla_tx
    batadv_broadcast_addr
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_min_mtu
    batadv_mesh_free
    batadv_mesh_init
    batadv_netlink_tpmeter_notify
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-4.19 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    batadv_algo_dump
    batadv_algo_get
    batadv_algo_select
    batadv_bla_backbone_dump
    batadv_bla_check_bcast_duplist
    batadv_bla_claim_dump
    batadv_bla_is_backbone_gw
    batadv_bla_rx
    batadv_bla_status_update
    batadv_bla_tx
    batadv_broadcast_addr
    batadv_dat_cache_dump
    batadv_dat_drop_broadcast_packet
    batadv_dat_snoop_incoming_arp_reply
    batadv_dat_snoop_incoming_arp_request
    batadv_dat_snoop_incoming_dhcp_ack
    batadv_dat_snoop_outgoing_arp_reply
    batadv_dat_snoop_outgoing_arp_request
    batadv_dat_snoop_outgoing_dhcp_ack
    batadv_dat_status_update
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_dump
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_gw_tvlv_container_update
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_get_by_netdev
    batadv_hardif_min_mtu
    batadv_mcast_flags_dump
    batadv_mcast_forw_mode
    batadv_mcast_forw_mode_by_count
    batadv_mcast_forw_send
    batadv_mcast_mesh_info_put
    batadv_mcast_purge_orig
    batadv_mesh_free
    batadv_mesh_init
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_update_min_mtu
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-5.10.159 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    batadv_algo_dump
    batadv_algo_get
    batadv_algo_select
    batadv_broadcast_addr
    batadv_dat_cache_dump
    batadv_dat_drop_broadcast_packet
    batadv_dat_snoop_incoming_arp_reply
    batadv_dat_snoop_incoming_arp_request
    batadv_dat_snoop_incoming_dhcp_ack
    batadv_dat_snoop_outgoing_arp_reply
    batadv_dat_snoop_outgoing_arp_request
    batadv_dat_snoop_outgoing_dhcp_ack
    batadv_dat_status_update
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_dump
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_gw_tvlv_container_update
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_get_by_netdev
    batadv_hardif_min_mtu
    batadv_hash_set_lock_class
    batadv_mcast_flags_dump
    batadv_mcast_forw_mode
    batadv_mcast_forw_mode_by_count
    batadv_mcast_forw_send
    batadv_mcast_mesh_info_put
    batadv_mcast_purge_orig
    batadv_mesh_free
    batadv_mesh_init
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_update_min_mtu
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-5.12 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    batadv_algo_dump
    batadv_algo_get
    batadv_algo_select
    batadv_broadcast_addr
    batadv_dat_cache_dump
    batadv_dat_drop_broadcast_packet
    batadv_dat_snoop_incoming_arp_reply
    batadv_dat_snoop_incoming_arp_request
    batadv_dat_snoop_incoming_dhcp_ack
    batadv_dat_snoop_outgoing_arp_reply
    batadv_dat_snoop_outgoing_arp_request
    batadv_dat_snoop_outgoing_dhcp_ack
    batadv_dat_status_update
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_dump
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_gw_tvlv_container_update
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_get_by_netdev
    batadv_hardif_min_mtu
    batadv_hardif_no_broadcast
    batadv_hash_set_lock_class
    batadv_is_my_mac
    batadv_mcast_flags_dump
    batadv_mcast_forw_mode
    batadv_mcast_forw_mode_by_count
    batadv_mcast_forw_send
    batadv_mcast_mesh_info_put
    batadv_mcast_purge_orig
    batadv_mesh_free
    batadv_mesh_init
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_update_min_mtu
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-5.17 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    batadv_algo_get
    batadv_algo_select
    batadv_broadcast_addr
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_min_mtu
    batadv_hash_destroy
    batadv_hash_new
    batadv_hash_set_lock_class
    batadv_mesh_free
    batadv_mesh_init
    batadv_netlink_tpmeter_notify
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-5.17 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=y
---------------------------------------------------------------------------

    batadv_algo_get
    batadv_algo_select
    batadv_bla_check_bcast_duplist
    batadv_bla_is_backbone_gw
    batadv_bla_is_backbone_gw_orig
    batadv_bla_rx
    batadv_bla_tx
    batadv_broadcast_addr
    batadv_dat_drop_broadcast_packet
    batadv_dat_snoop_incoming_arp_reply
    batadv_dat_snoop_incoming_arp_request
    batadv_dat_snoop_incoming_dhcp_ack
    batadv_dat_snoop_outgoing_arp_reply
    batadv_dat_snoop_outgoing_arp_request
    batadv_dat_snoop_outgoing_dhcp_ack
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_min_mtu
    batadv_mesh_free
    batadv_mesh_init
    batadv_netlink_tpmeter_notify
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-5.2 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    batadv_algo_get
    batadv_algo_select
    batadv_bla_check_bcast_duplist
    batadv_bla_is_backbone_gw
    batadv_bla_is_backbone_gw_orig
    batadv_bla_rx
    batadv_bla_tx
    batadv_broadcast_addr
    batadv_dat_drop_broadcast_packet
    batadv_dat_snoop_incoming_arp_reply
    batadv_dat_snoop_incoming_arp_request
    batadv_dat_snoop_incoming_dhcp_ack
    batadv_dat_snoop_outgoing_arp_reply
    batadv_dat_snoop_outgoing_arp_request
    batadv_dat_snoop_outgoing_dhcp_ack
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_min_mtu
    batadv_hardif_no_broadcast
    batadv_is_my_mac
    batadv_mesh_free
    batadv_mesh_init
    batadv_netlink_tpmeter_notify
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-5.5 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    batadv_algo_dump
    batadv_algo_get
    batadv_algo_select
    batadv_broadcast_addr
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_dump
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_gw_tvlv_container_update
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_get_by_netdev
    batadv_hardif_min_mtu
    batadv_hardif_no_broadcast
    batadv_hash_destroy
    batadv_hash_new
    batadv_hash_set_lock_class
    batadv_is_my_mac
    batadv_mcast_flags_dump
    batadv_mcast_forw_mode
    batadv_mcast_forw_mode_by_count
    batadv_mcast_forw_send
    batadv_mcast_mesh_info_put
    batadv_mcast_purge_orig
    batadv_mesh_free
    batadv_mesh_init
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_update_min_mtu
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-5.6 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    batadv_algo_dump
    batadv_algo_get
    batadv_algo_select
    batadv_bla_backbone_dump
    batadv_bla_check_bcast_duplist
    batadv_bla_claim_dump
    batadv_bla_is_backbone_gw
    batadv_bla_rx
    batadv_bla_status_update
    batadv_bla_tx
    batadv_broadcast_addr
    batadv_dat_cache_dump
    batadv_dat_drop_broadcast_packet
    batadv_dat_snoop_incoming_arp_reply
    batadv_dat_snoop_incoming_arp_request
    batadv_dat_snoop_incoming_dhcp_ack
    batadv_dat_snoop_outgoing_arp_reply
    batadv_dat_snoop_outgoing_arp_request
    batadv_dat_snoop_outgoing_dhcp_ack
    batadv_dat_status_update
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_dump
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_gw_tvlv_container_update
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_get_by_netdev
    batadv_hardif_min_mtu
    batadv_hardif_no_broadcast
    batadv_is_my_mac
    batadv_mcast_flags_dump
    batadv_mcast_forw_mode
    batadv_mcast_forw_mode_by_count
    batadv_mcast_forw_send
    batadv_mcast_mesh_info_put
    batadv_mcast_purge_orig
    batadv_mesh_free
    batadv_mesh_init
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_update_min_mtu
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-5.7 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    batadv_algo_dump
    batadv_algo_get
    batadv_algo_select
    batadv_broadcast_addr
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_dump
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_gw_tvlv_container_update
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_get_by_netdev
    batadv_hardif_min_mtu
    batadv_hash_destroy
    batadv_hash_new
    batadv_hash_set_lock_class
    batadv_mcast_flags_dump
    batadv_mcast_forw_mode
    batadv_mcast_forw_mode_by_count
    batadv_mcast_forw_send
    batadv_mcast_mesh_info_put
    batadv_mcast_purge_orig
    batadv_mesh_free
    batadv_mesh_init
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_update_min_mtu
    batadv_vlan_ap_isola_get

ecsv/pu: unused_symbols linux-6.0 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
---------------------------------------------------------------------------

    batadv_algo_get
    batadv_algo_select
    batadv_broadcast_addr
    batadv_event_workqueue
    batadv_frag_purge_orig
    batadv_frag_send_packet
    batadv_frag_skb_buffer
    batadv_frag_skb_fwd
    batadv_gw_dhcp_recipient_get
    batadv_gw_election
    batadv_gw_get_selected_orig
    batadv_gw_node_delete
    batadv_gw_out_of_range
    batadv_hardif_disable_interface
    batadv_hardif_enable_interface
    batadv_hardif_min_mtu
    batadv_hardif_no_broadcast
    batadv_hash_destroy
    batadv_hash_new
    batadv_hash_set_lock_class
    batadv_is_my_mac
    batadv_mesh_free
    batadv_mesh_init
    batadv_netlink_tpmeter_notify
    batadv_routing_algo
    batadv_skb_set_priority
    batadv_vlan_ap_isola_get


Statistics
==========

ecsv/pu
-------

Failed tests:               214
Started build tests:        121
Tested Linux versions:       38
Tested configs:              84
  

Patch

diff --git a/net/batman-adv/multicast_forw.c b/net/batman-adv/multicast_forw.c
index e2b0cd51cec4..3f6fedc7a918 100644
--- a/net/batman-adv/multicast_forw.c
+++ b/net/batman-adv/multicast_forw.c
@@ -24,6 +24,9 @@ 
 #define batadv_mcast_forw_tracker_for_each_dest(dest, num_dests) \
 	for (; num_dests; num_dests--, (dest) += ETH_ALEN)
 
+#define batadv_mcast_forw_tracker_for_each_dest_rev(dest, num_dests) \
+	for (; num_dests; num_dests--, (dest) -= ETH_ALEN)
+
 /**
  * batadv_mcast_forw_orig_entry() - get orig_node from an hlist node
  * @node: the hlist node to get the orig_node from
@@ -516,6 +519,209 @@  batadv_mcast_forw_scrub_dests(struct batadv_priv *bat_priv,
 	}
 }
 
+/**
+ * batadv_mcast_forw_shrink_align_offset() - calculate alignment offset
+ * @num_dests_old: the number of destinations the tracker TVLV had originally
+ * @num_dests_reduce: the number of destinations that are going to be removed
+ *
+ * The multicast tracker TVLV has 2 alignment bytes if the number of destination
+ * entries are even, to make this TVLV 4 byte aligned to make the encapsulated
+ * IP packet 4 byte aligned. And no alignment bytes in the tracker TVLV if the
+ * number of destinations is odd.
+ *
+ * This calculates if the 2 alignment bytes in the multicast tracker TVLV need
+ * to be added, removed or left unchanged.
+ *
+ * Return: The number of extra offset in skb tail direction to compensate for
+ * alignment. Will be -2, 0 or +2.
+ */
+static int batadv_mcast_forw_shrink_align_offset(unsigned int num_dests_old,
+						 unsigned int num_dests_remove)
+{
+	int ret = sizeof(((struct batadv_tvlv_mcast_tracker *)0)->align);
+
+	/* no change in padding */
+	if (!(num_dests_remove % 2))
+		return 0;
+
+	/* even had padding, remove it, increase the offset */
+	if (!(num_dests_old % 2))
+		return ret;
+	/* odd had no padding, add it, decrease the offset */
+	else
+		return -ret;
+}
+
+/**
+ * batadv_mcast_forw_shrink_pack_dests() - pack destinations of a tracker TVLV
+ * @skb: the batman-adv multicast packet to compact destinations in
+ *
+ * Compacts the originator destination MAC addresses in the multicast tracker
+ * TVLV of the given multicast packet. This is done by moving all non-zero
+ * MAC addresses in direction of the skb tail and all zero MAC addresses in skb
+ * head direction, within the multicast tracker TVLV.
+ *
+ * Return: The number of consecutive zero MAC address destinations which are
+ * now at the front within the multicast tracker TVLV.
+ */
+static int batadv_mcast_forw_shrink_pack_dests(struct sk_buff *skb)
+{
+	struct batadv_tvlv_mcast_tracker *mcast_tracker;
+	u16 num_dests_slot, num_dests_filler;
+	unsigned int tracker_hdrlen;
+	u8 *slot, *filler;
+
+	mcast_tracker = (struct batadv_tvlv_mcast_tracker *)skb_network_header(skb);
+	num_dests_slot = ntohs(mcast_tracker->num_dests);
+
+	tracker_hdrlen = batadv_mcast_forw_tracker_hdrlen(num_dests_slot);
+	slot = (u8 *)mcast_tracker + tracker_hdrlen;
+	slot += ETH_ALEN * (num_dests_slot - 1);
+
+	if (!num_dests_slot)
+		return 0;
+
+	num_dests_filler = num_dests_slot - 1;
+	filler = slot - ETH_ALEN;
+
+	batadv_mcast_forw_tracker_for_each_dest_rev(slot, num_dests_slot) {
+		/* find an empty slot */
+		if (!is_zero_ether_addr(slot))
+			continue;
+
+		/* keep filler ahead of slot */
+		if (filler >= slot) {
+			num_dests_filler = num_dests_slot - 1;
+			filler = slot - ETH_ALEN;
+		}
+
+		/* find a candidate to fill the empty slot */
+		batadv_mcast_forw_tracker_for_each_dest_rev(filler, num_dests_filler) {
+			if (is_zero_ether_addr(filler))
+				continue;
+
+			ether_addr_copy(slot, filler);
+			eth_zero_addr(filler);
+			goto cont_next_slot;
+		}
+
+		/* could not find a filler, we can stop
+		 * - and must not advance the slot pointer!
+		 */
+		if (!num_dests_filler)
+			break;
+cont_next_slot:
+	}
+
+	 /* num_dests_slot is the amount of reduced destinations */
+	return num_dests_slot;
+}
+
+/**
+ * batadv_mcast_forw_shrink_update_headers() - update shrunk mc packet headers
+ * @skb: the batman-adv multicast packet to update headers of
+ * @num_dest_reduce: the number of destinations that were removed
+ *
+ * This updates any fields of a batman-adv multicast packet that are affected
+ * by the reduced number of destinations in the multicast tracket TVLV. In
+ * particular this updates:
+ *
+ * The num_dest field of the multicast tracker TVLV.
+ * The TVLV length field of the according generic TVLV header.
+ * The batman-adv multicast packet's total TVLV length field.
+ *
+ * Return: The offset in skb's tail direction at which the new batman-adv
+ * multicast packet header needs to start.
+ */
+static unsigned int
+batadv_mcast_forw_shrink_update_headers(struct sk_buff *skb,
+					unsigned int num_dests_reduce)
+{
+	struct batadv_tvlv_mcast_tracker *mcast_tracker;
+	struct batadv_mcast_packet *mcast_packet;
+	struct batadv_tvlv_hdr *tvlv_hdr;
+	unsigned char *skb_net_hdr;
+	unsigned int offset;
+	int align_offset;
+	u16 num_dests;
+
+	skb_net_hdr = skb_network_header(skb);
+	mcast_tracker = (struct batadv_tvlv_mcast_tracker *)skb_net_hdr;
+	num_dests = ntohs(mcast_tracker->num_dests);
+
+	align_offset = batadv_mcast_forw_shrink_align_offset(num_dests,
+							     num_dests_reduce);
+	num_dests -= num_dests_reduce;
+	offset = ETH_ALEN * num_dests_reduce + align_offset;
+
+	/* update tracker header */
+	mcast_tracker->num_dests = htons(num_dests);
+	/* align field is already zero'd due to previous eth_zero_addr() call */
+
+	/* update tracker's tvlv header's length field */
+	tvlv_hdr = (struct batadv_tvlv_hdr *)(skb_network_header(skb) -
+					      sizeof(*tvlv_hdr));
+	tvlv_hdr->len = htons(ntohs(tvlv_hdr->len) - offset);
+
+	/* update multicast packet header's tvlv length field */
+	mcast_packet = (struct batadv_mcast_packet *)skb->data;
+	mcast_packet->tvlv_len = htons(ntohs(mcast_packet->tvlv_len) - offset);
+
+	return offset;
+}
+
+/**
+ * batadv_mcast_forw_shrink_move_headers() - move multicast headers by offset
+ * @skb: the batman-adv multicast packet to move headers for
+ * @offset: a non-negative offset to move headers by, towards the skb tail
+ *
+ * Moves the batman-adv multicast packet header, its multicast tracker TVLV and
+ * any TVLVs in between by the given offset in direction towards the tail.
+ *
+ * It also invalidates the skb checksum.
+ */
+static void
+batadv_mcast_forw_shrink_move_headers(struct sk_buff *skb, unsigned int offset)
+{
+	struct batadv_tvlv_mcast_tracker *mcast_tracker;
+	unsigned int tracker_hdrlen, len;
+	unsigned char *skb_net_hdr;
+	u16 num_dests;
+
+	skb_net_hdr = skb_network_header(skb);
+	mcast_tracker = (struct batadv_tvlv_mcast_tracker *)skb_net_hdr;
+	num_dests = ntohs(mcast_tracker->num_dests);
+	tracker_hdrlen = batadv_mcast_forw_tracker_hdrlen(num_dests);
+	len = skb_network_offset(skb) + tracker_hdrlen;
+
+	memmove(skb->data + offset, skb->data, len);
+	skb_pull(skb, offset);
+
+	/* invalidate checksum: */
+	skb->ip_summed = CHECKSUM_NONE;
+}
+
+/**
+ * batadv_mcast_forw_shrink_tracker() - remove zero addresses in a tracker tvlv
+ * @skb: the batman-adv multicast packet to (potentially) shrink
+ *
+ * Removes all destinations with a zero MAC addresses (00:00:00:00:00:00) from
+ * the given batman-adv multicast packet's tracker TVLV and updates headers
+ * accordingly to maintain a valid batman-adv multicast packet.
+ */
+static void batadv_mcast_forw_shrink_tracker(struct sk_buff *skb)
+{
+	u16 dests_reduced;
+	unsigned int offset;
+
+	dests_reduced = batadv_mcast_forw_shrink_pack_dests(skb);
+	if (!dests_reduced)
+		return;
+
+	offset = batadv_mcast_forw_shrink_update_headers(skb, dests_reduced);
+	batadv_mcast_forw_shrink_move_headers(skb, offset);
+}
+
 /**
  * batadv_mcast_forw_packet() - forward a batman-adv multicast packet
  * @bat_priv: the bat priv with all the soft interface information
@@ -600,6 +806,7 @@  static int batadv_mcast_forw_packet(struct batadv_priv *bat_priv,
 
 		batadv_mcast_forw_scrub_dests(bat_priv, neigh_node, dest,
 					      next_dest, num_dests);
+		batadv_mcast_forw_shrink_tracker(nexthop_skb);
 
 		batadv_inc_counter(bat_priv, BATADV_CNT_MCAST_TX);
 		batadv_add_counter(bat_priv, BATADV_CNT_MCAST_TX_BYTES,