[v2,2/5] batman-adv: tvlv: prepare for tvlv enabled multicast packet type

Message ID 20221226161554.9657-3-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
  Prepare TVLV infrastructure for more packet types, in particular the
upcoming batman-adv multicast packet type.

For that swap the OGM vs. unicast-tvlv packet boolean indicator to an
explicit unsigned integer packet type variable. And provide the skb
to a call to batadv_tvlv_containers_process(), as later the multicast
packet's TVLV handler will need to have access not only to the TVLV but
the full skb for forwarding. Forwarding will be invoked from the
multicast packet's TVLVs' contents later.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
---
 include/uapi/linux/batadv_packet.h     |  2 +
 net/batman-adv/bat_v_ogm.c             |  4 +-
 net/batman-adv/distributed-arp-table.c |  2 +-
 net/batman-adv/gateway_common.c        |  2 +-
 net/batman-adv/multicast.c             |  2 +-
 net/batman-adv/routing.c               |  7 ++-
 net/batman-adv/translation-table.c     |  4 +-
 net/batman-adv/tvlv.c                  | 71 ++++++++++++++++++--------
 net/batman-adv/tvlv.h                  |  8 +--
 net/batman-adv/types.h                 |  6 +++
 10 files changed, 73 insertions(+), 35 deletions(-)
  

Comments

Sven Eckelmann Dec. 26, 2022, 5:33 p.m. UTC | #1
On Monday, 26 December 2022 17:15:51 CET Linus Lüssing wrote:
> Prepare TVLV infrastructure for more packet types, in particular the
> upcoming batman-adv multicast packet type.
> 
> For that swap the OGM vs. unicast-tvlv packet boolean indicator to an
> explicit unsigned integer packet type variable. And provide the skb
> to a call to batadv_tvlv_containers_process(), as later the multicast
> packet's TVLV handler will need to have access not only to the TVLV but
> the full skb for forwarding. Forwarding will be invoked from the
> multicast packet's TVLVs' contents later.
> 
> Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
> ---
>  include/uapi/linux/batadv_packet.h     |  2 +
>  net/batman-adv/bat_v_ogm.c             |  4 +-
>  net/batman-adv/distributed-arp-table.c |  2 +-
>  net/batman-adv/gateway_common.c        |  2 +-
>  net/batman-adv/multicast.c             |  2 +-
>  net/batman-adv/routing.c               |  7 ++-
>  net/batman-adv/translation-table.c     |  4 +-
>  net/batman-adv/tvlv.c                  | 71 ++++++++++++++++++--------
>  net/batman-adv/tvlv.h                  |  8 +--
>  net/batman-adv/types.h                 |  6 +++
>  10 files changed, 73 insertions(+), 35 deletions(-)

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

ecsv/pu
-------

 * headers
 * sparse linux-4.10 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.10 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-4.10 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=y
 * sparse linux-4.11 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-4.11 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-4.12 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=y
 * sparse linux-4.12 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-4.12 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.12 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
 * sparse linux-4.12 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.13 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-4.13 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-4.14 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-4.14 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.14 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.14 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-4.14.302 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-4.14.302 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=n
 * sparse linux-4.14.302 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-4.15 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-4.15 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
 * sparse linux-4.15 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-4.16 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=y
 * 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=n BATMAN_V=n
 * sparse linux-4.16 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-4.17 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-4.18 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.18 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-4.18 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-4.18 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-4.18 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.18 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=y
 * sparse linux-4.18 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=y
 * sparse linux-4.19 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-4.19.269 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-4.19.269 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=n
 * sparse linux-4.19.269 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.19.269 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
 * sparse linux-4.9 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-4.9 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-4.9 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * sparse linux-4.9 cfg: BLA=y DAT=n DEBUG=n TRACING=n 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=y DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.0 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=n
 * sparse linux-5.0 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.1 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.10 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.10 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.10 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.10 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-5.10.159 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.10.159 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.11 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-5.11 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.12 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.12 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.13 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.13 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.13 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.13 cfg: BLA=n DAT=y 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=y MCAST=n BATMAN_V=n
 * sparse linux-5.13 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.13 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.13 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-5.13 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.14 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-5.14 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.14 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.14 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.15 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.15 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.15.83 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.15.83 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=n
 * sparse linux-5.15.83 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.16 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.16 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=y
 * sparse linux-5.16 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-5.16 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.16 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.17 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.17 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.18 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.18 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.18 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.19 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=y
 * sparse linux-5.19 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.19 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-5.19 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-5.2 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.2 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.3 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-5.3 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.4 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-5.4 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-5.4 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.4 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.4 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=y
 * 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=y MCAST=y BATMAN_V=y
 * sparse linux-5.4.227 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-5.4.227 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.5 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
 * sparse linux-5.6 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.6 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=n
 * sparse linux-5.6 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.6 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.7 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.7 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.7 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-5.8 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=n MCAST=n BATMAN_V=y
 * sparse linux-5.8 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-5.9 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=y
 * sparse linux-5.9 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * sparse linux-5.9 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=n MCAST=y BATMAN_V=n
 * sparse linux-5.9 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=y
 * sparse linux-6.0 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=n MCAST=y BATMAN_V=n
 * sparse linux-6.0 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-6.0 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
 * sparse linux-6.0.13 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=n MCAST=n BATMAN_V=n
 * sparse linux-6.0.13 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * sparse linux-6.0.13 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=n MCAST=n BATMAN_V=n
 * sparse linux-6.1 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=n
 * sparse linux-6.1 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-4.10 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.10 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-4.11 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-4.12 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.12 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-4.12 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=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.14 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.14 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-4.14.302 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-4.15 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-4.15 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-4.15 cfg: BLA=y 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.18 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.18 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.19.269 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-4.19.269 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-4.19.269 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.19.269 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-4.9 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-4.9 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-4.9 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-4.9 cfg: BLA=y DAT=n DEBUG=n TRACING=n 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=y DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.0 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-5.0 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.1 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.10 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.10 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.10.159 cfg: BLA=y DAT=n 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=y MCAST=n BATMAN_V=n
 * unused_symbols linux-5.13 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.13 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.13 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.13 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-5.13 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.13 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-5.13 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.14 cfg: BLA=n DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-5.14 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.14 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.14 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.15 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.15 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.15.83 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.15.83 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-5.15.83 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.16 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-5.16 cfg: BLA=y DAT=y DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.19 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.19 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-5.2 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.3 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-5.3 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.4 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.4 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.4 cfg: BLA=y DAT=y DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.4.227 cfg: BLA=y DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.5 cfg: BLA=n DAT=y DEBUG=n TRACING=y NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-5.6 cfg: BLA=n DAT=n DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.6 cfg: BLA=n DAT=y DEBUG=y TRACING=n NC=y MCAST=y BATMAN_V=n
 * unused_symbols linux-5.6 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.7 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-5.8 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-5.9 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-6.0 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-6.0 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
 * unused_symbols linux-6.0.13 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=y
 * unused_symbols linux-6.1 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=n
 * unused_symbols linux-6.1 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=n BATMAN_V=n


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

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

    diff --git a/net/batman-adv/multicast.c b/net/batman-adv/multicast.c
    index cbf7ac9e..d541532b 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/soft-interface.c b/net/batman-adv/soft-interface.c
    index c2fa0ef5..cd04ab27 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: sparse linux-4.10 cfg: BLA=y DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:553: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1490: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:553: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1490: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:553: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1492: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:553: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1492: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:561: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1512: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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:303: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:561: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1512: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:573: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1503: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:573: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1503: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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:330: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:588: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1556: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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:330: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:588: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1556: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:575: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1508: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:581: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1556: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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:323: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:581: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1556: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:559: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1571: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:558: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1500: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:558: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1500: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:546: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1517: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:544: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1551: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:544: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1490: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:558: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1544: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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:277: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:492: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1553: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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:276: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:486: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1571: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:279: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:496: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1805: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:496: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1805: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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:286: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:503: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1837: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:286: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:503: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1837: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:496: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1800: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:279: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:496: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1800: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:271: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:514: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1851: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:515: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1847: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:272: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:515: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1847: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:514: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1851: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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:277: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:540: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1868: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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:289: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:552: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1902: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:549: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1846: /home/build_test/build_env/tmp.OxsOqWL6gH] 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=n
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:287: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:549: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1846: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:288: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:550: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1831: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:288: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:550: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1834: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:249: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:466: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1843: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:466: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1843: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:489: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1595: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:489: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1595: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:497: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1624: _module_/home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:266: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:509: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1652: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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:266: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:509: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1652: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:262: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:497: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1739: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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:262: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:497: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1739: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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:266: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:503: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1693: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:268: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:505: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1683: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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:268: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:505: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1683: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:267: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:488: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1729: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:488: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1729: /home/build_test/build_env/tmp.OxsOqWL6gH] 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=y
---------------------------------------------------------------------------

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: typename in expression
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: Expected ; at end of statement
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:26: error: got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:17: error: undefined identifier 'u8'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:389:21: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:398:17: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:401:64: error: undefined identifier 'src'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:405:17: error: undefined identifier 'unsigned'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:413:17: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:414:45: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c:415:47: error: undefined identifier 'tvlv_offset'
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:281: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:497: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1756: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44: warning: incorrect type in argument 4 (different base types)
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    expected int ( *mptr )( ... )
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:163:44:    got int
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c:162:37: error: not enough arguments for function batadv_tvlv_handler_register
    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:497: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1756: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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:283: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:500: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1784: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:283: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:500: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1784: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:465: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1852: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.c: In function ‘batadv_tvlv_call_handler’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:390:3: error: expected expression before ‘u8’
       u8 *dst;
       ^~
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/tvlv.c:404:2: note: here
      case BATADV_MCAST:
      ^~~~
    make[3]: *** [scripts/Makefile.build:249: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/tvlv.o] Error 1
    make[2]: *** [scripts/Makefile.build:465: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1852: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

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

    /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv/network-coding.c: In function ‘batadv_nc_mesh_init’:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.c:45:
    /home/build_test/build_env/tmp.OxsOqWL6gH/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.OxsOqWL6gH/net/batman-adv/network-coding.o] Error 1
    make[2]: *** [scripts/Makefile.build:500: /home/build_test/build_env/tmp.OxsOqWL6gH/net/batman-adv] Error 2
    make[1]: *** [Makefile:1992: /home/build_test/build_env/tmp.OxsOqWL6gH] Error 2
    make: *** [Makefile:68: all] Error 2

ecsv/pu: unused_symbols linux-4.11 cfg: BLA=n DAT=y DEBUG=y TRACING=y NC=y MCAST=y 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_mcast_forw_mode
    batadv_mcast_forw_send
    batadv_mcast_purge_orig
    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.12 cfg: BLA=y DAT=y DEBUG=n TRACING=y 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-4.14 cfg: BLA=y DAT=y DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    batadv_algo_get
    batadv_algo_select
    batadv_bla_check_bcast_duplist
    batadv_bla_is_backbone_gw
    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_mcast_forw_mode
    batadv_mcast_forw_send
    batadv_mcast_purge_orig
    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.15 cfg: BLA=n DAT=n DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    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_hardif_no_broadcast
    batadv_hash_destroy
    batadv_hash_new
    batadv_hash_set_lock_class
    batadv_is_my_mac
    batadv_mcast_forw_mode
    batadv_mcast_forw_send
    batadv_mcast_purge_orig
    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.15 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.15 cfg: BLA=y DAT=n DEBUG=y TRACING=y NC=y MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    batadv_algo_get
    batadv_algo_select
    batadv_bla_check_bcast_duplist
    batadv_bla_is_backbone_gw
    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_mcast_forw_mode
    batadv_mcast_forw_send
    batadv_mcast_purge_orig
    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.269 cfg: BLA=n DAT=n DEBUG=y 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

ecsv/pu: unused_symbols linux-4.9 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-5.13 cfg: BLA=n DAT=n DEBUG=y TRACING=n 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.13 cfg: BLA=n DAT=n DEBUG=y TRACING=y NC=y MCAST=y 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_mcast_forw_mode
    batadv_mcast_forw_send
    batadv_mcast_purge_orig
    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.13 cfg: BLA=y DAT=n DEBUG=n TRACING=n NC=y MCAST=y BATMAN_V=y
---------------------------------------------------------------------------

    batadv_algo_get
    batadv_algo_select
    batadv_bla_check_bcast_duplist
    batadv_bla_is_backbone_gw
    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_mcast_forw_mode
    batadv_mcast_forw_send
    batadv_mcast_purge_orig
    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.13 cfg: BLA=y DAT=y 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_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.13 cfg: BLA=y DAT=y DEBUG=n TRACING=y NC=y MCAST=y BATMAN_V=n
---------------------------------------------------------------------------

    batadv_algo_get
    batadv_algo_select
    batadv_bla_check_bcast_duplist
    batadv_bla_is_backbone_gw
    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_mcast_forw_mode
    batadv_mcast_forw_send
    batadv_mcast_purge_orig
    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.15 cfg: BLA=n DAT=y DEBUG=n TRACING=n NC=y MCAST=y 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_mcast_forw_mode
    batadv_mcast_forw_send
    batadv_mcast_purge_orig
    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.15.83 cfg: BLA=y DAT=n DEBUG=y 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_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.4 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


Statistics
==========

ecsv/pu
-------

Failed tests:               198
Started build tests:        126
Tested Linux versions:       40
Tested configs:              81
  

Patch

diff --git a/include/uapi/linux/batadv_packet.h b/include/uapi/linux/batadv_packet.h
index ea4692c339ce..9204e4494b25 100644
--- a/include/uapi/linux/batadv_packet.h
+++ b/include/uapi/linux/batadv_packet.h
@@ -26,6 +26,7 @@ 
  * @BATADV_CODED: network coded packets
  * @BATADV_ELP: echo location packets for B.A.T.M.A.N. V
  * @BATADV_OGM2: originator messages for B.A.T.M.A.N. V
+ * @BATADV_MCAST: multicast packet with multiple destination addresses
  *
  * @BATADV_UNICAST: unicast packets carrying unicast payload traffic
  * @BATADV_UNICAST_FRAG: unicast packets carrying a fragment of the original
@@ -42,6 +43,7 @@  enum batadv_packettype {
 	BATADV_CODED            = 0x02,
 	BATADV_ELP		= 0x03,
 	BATADV_OGM2		= 0x04,
+	BATADV_MCAST            = 0x05,
 	/* 0x40 - 0x7f: unicast */
 #define BATADV_UNICAST_MIN     0x40
 	BATADV_UNICAST          = 0x40,
diff --git a/net/batman-adv/bat_v_ogm.c b/net/batman-adv/bat_v_ogm.c
index 033639df96d8..296fcff487bc 100644
--- a/net/batman-adv/bat_v_ogm.c
+++ b/net/batman-adv/bat_v_ogm.c
@@ -800,8 +800,8 @@  batadv_v_ogm_process_per_outif(struct batadv_priv *bat_priv,
 
 	/* only unknown & newer OGMs contain TVLVs we are interested in */
 	if (seqno_age > 0 && if_outgoing == BATADV_IF_DEFAULT)
-		batadv_tvlv_containers_process(bat_priv, true, orig_node,
-					       NULL, NULL,
+		batadv_tvlv_containers_process(bat_priv, BATADV_OGM2, orig_node,
+					       NULL,
 					       (unsigned char *)(ogm2 + 1),
 					       ntohs(ogm2->tvlv_len));
 
diff --git a/net/batman-adv/distributed-arp-table.c b/net/batman-adv/distributed-arp-table.c
index fefb51a5f606..6968e55eb971 100644
--- a/net/batman-adv/distributed-arp-table.c
+++ b/net/batman-adv/distributed-arp-table.c
@@ -822,7 +822,7 @@  int batadv_dat_init(struct batadv_priv *bat_priv)
 	batadv_dat_start_timer(bat_priv);
 
 	batadv_tvlv_handler_register(bat_priv, batadv_dat_tvlv_ogm_handler_v1,
-				     NULL, BATADV_TVLV_DAT, 1,
+				     NULL, NULL, BATADV_TVLV_DAT, 1,
 				     BATADV_TVLV_HANDLER_OGM_CIFNOTFND);
 	batadv_dat_tvlv_container_update(bat_priv);
 	return 0;
diff --git a/net/batman-adv/gateway_common.c b/net/batman-adv/gateway_common.c
index 9349c76f30c5..6a964a773f57 100644
--- a/net/batman-adv/gateway_common.c
+++ b/net/batman-adv/gateway_common.c
@@ -259,7 +259,7 @@  void batadv_gw_init(struct batadv_priv *bat_priv)
 		atomic_set(&bat_priv->gw.sel_class, 1);
 
 	batadv_tvlv_handler_register(bat_priv, batadv_gw_tvlv_ogm_handler_v1,
-				     NULL, BATADV_TVLV_GW, 1,
+				     NULL, NULL, BATADV_TVLV_GW, 1,
 				     BATADV_TVLV_HANDLER_OGM_CIFNOTFND);
 }
 
diff --git a/net/batman-adv/multicast.c b/net/batman-adv/multicast.c
index dbe7fcfad512..548ab08d96fa 100644
--- a/net/batman-adv/multicast.c
+++ b/net/batman-adv/multicast.c
@@ -1827,7 +1827,7 @@  static void batadv_mcast_tvlv_ogm_handler(struct batadv_priv *bat_priv,
 void batadv_mcast_init(struct batadv_priv *bat_priv)
 {
 	batadv_tvlv_handler_register(bat_priv, batadv_mcast_tvlv_ogm_handler,
-				     NULL, BATADV_TVLV_MCAST, 2,
+				     NULL, NULL, BATADV_TVLV_MCAST, 2,
 				     BATADV_TVLV_HANDLER_OGM_CIFNOTFND);
 
 	INIT_DELAYED_WORK(&bat_priv->mcast.work, batadv_mcast_mla_update);
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c
index 83f31494ea4d..163cd43c4821 100644
--- a/net/batman-adv/routing.c
+++ b/net/batman-adv/routing.c
@@ -1073,10 +1073,9 @@  int batadv_recv_unicast_tvlv(struct sk_buff *skb,
 	if (tvlv_buff_len > skb->len - hdr_size)
 		goto free_skb;
 
-	ret = batadv_tvlv_containers_process(bat_priv, false, NULL,
-					     unicast_tvlv_packet->src,
-					     unicast_tvlv_packet->dst,
-					     tvlv_buff, tvlv_buff_len);
+	ret = batadv_tvlv_containers_process(bat_priv, BATADV_UNICAST_TVLV,
+					     NULL, skb, tvlv_buff,
+					     tvlv_buff_len);
 
 	if (ret != NET_RX_SUCCESS) {
 		ret = batadv_route_unicast_packet(skb, recv_if);
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c
index 01d30c1e412c..36ca31252a73 100644
--- a/net/batman-adv/translation-table.c
+++ b/net/batman-adv/translation-table.c
@@ -4168,11 +4168,11 @@  int batadv_tt_init(struct batadv_priv *bat_priv)
 	}
 
 	batadv_tvlv_handler_register(bat_priv, batadv_tt_tvlv_ogm_handler_v1,
-				     batadv_tt_tvlv_unicast_handler_v1,
+				     batadv_tt_tvlv_unicast_handler_v1, NULL,
 				     BATADV_TVLV_TT, 1, BATADV_NO_FLAGS);
 
 	batadv_tvlv_handler_register(bat_priv, NULL,
-				     batadv_roam_tvlv_unicast_handler_v1,
+				     batadv_roam_tvlv_unicast_handler_v1, NULL,
 				     BATADV_TVLV_ROAM, 1, BATADV_NO_FLAGS);
 
 	INIT_DELAYED_WORK(&bat_priv->tt.work, batadv_tt_purge);
diff --git a/net/batman-adv/tvlv.c b/net/batman-adv/tvlv.c
index 7ec2e2343884..258a23e6e5a8 100644
--- a/net/batman-adv/tvlv.c
+++ b/net/batman-adv/tvlv.c
@@ -352,10 +352,9 @@  u16 batadv_tvlv_container_ogm_append(struct batadv_priv *bat_priv,
  *  appropriate handlers
  * @bat_priv: the bat priv with all the soft interface information
  * @tvlv_handler: tvlv callback function handling the tvlv content
- * @ogm_source: flag indicating whether the tvlv is an ogm or a unicast packet
+ * @packet_type: indicates for which packet type the TVLV handler is called
  * @orig_node: orig node emitting the ogm packet
- * @src: source mac address of the unicast packet
- * @dst: destination mac address of the unicast packet
+ * @skb: the skb the TVLV handler is called for
  * @tvlv_value: tvlv content
  * @tvlv_value_len: tvlv content length
  *
@@ -364,15 +363,17 @@  u16 batadv_tvlv_container_ogm_append(struct batadv_priv *bat_priv,
  */
 static int batadv_tvlv_call_handler(struct batadv_priv *bat_priv,
 				    struct batadv_tvlv_handler *tvlv_handler,
-				    bool ogm_source,
+				    u8 packet_type,
 				    struct batadv_orig_node *orig_node,
-				    u8 *src, u8 *dst,
-				    void *tvlv_value, u16 tvlv_value_len)
+				    struct sk_buff *skb, void *tvlv_value,
+				    u16 tvlv_value_len)
 {
 	if (!tvlv_handler)
 		return NET_RX_SUCCESS;
 
-	if (ogm_source) {
+	switch (packet_type) {
+	case BATADV_IV_OGM:
+	case BATADV_OGM2:
 		if (!tvlv_handler->ogm_handler)
 			return NET_RX_SUCCESS;
 
@@ -383,19 +384,37 @@  static int batadv_tvlv_call_handler(struct batadv_priv *bat_priv,
 					  BATADV_NO_FLAGS,
 					  tvlv_value, tvlv_value_len);
 		tvlv_handler->flags |= BATADV_TVLV_HANDLER_OGM_CALLED;
-	} else {
-		if (!src)
-			return NET_RX_SUCCESS;
+		break;
+	case BATADV_UNICAST_TVLV:
+		u8 *src;
+		u8 *dst;
 
-		if (!dst)
+		if (!skb)
 			return NET_RX_SUCCESS;
 
 		if (!tvlv_handler->unicast_handler)
 			return NET_RX_SUCCESS;
 
+		src = ((struct batadv_unicast_tvlv_packet *)skb->data)->src;
+		dst = ((struct batadv_unicast_tvlv_packet *)skb->data)->dst;
+
 		return tvlv_handler->unicast_handler(bat_priv, src,
 						     dst, tvlv_value,
 						     tvlv_value_len);
+	case BATADV_MCAST:
+		unsigned int tvlv_offset;
+
+		if (!skb)
+			return NET_RX_SUCCESS;
+
+		if (!tvlv_handler->mcast_handler)
+			return NET_RX_SUCCESS;
+
+		tvlv_offset = (unsigned char *)tvlv_value - skb->data;
+		skb_set_network_header(skb, tvlv_offset);
+		skb_set_transport_header(skb, tvlv_offset + tvlv_value_len);
+
+		return tvlv_handler->mcast_handler(bat_priv, skb);
 	}
 
 	return NET_RX_SUCCESS;
@@ -405,10 +424,9 @@  static int batadv_tvlv_call_handler(struct batadv_priv *bat_priv,
  * batadv_tvlv_containers_process() - parse the given tvlv buffer to call the
  *  appropriate handlers
  * @bat_priv: the bat priv with all the soft interface information
- * @ogm_source: flag indicating whether the tvlv is an ogm or a unicast packet
+ * @packet_type: indicates for which packet type the TVLV handler is called
  * @orig_node: orig node emitting the ogm packet
- * @src: source mac address of the unicast packet
- * @dst: destination mac address of the unicast packet
+ * @skb: the skb the TVLV handler is called for
  * @tvlv_value: tvlv content
  * @tvlv_value_len: tvlv content length
  *
@@ -416,10 +434,10 @@  static int batadv_tvlv_call_handler(struct batadv_priv *bat_priv,
  * handler callbacks.
  */
 int batadv_tvlv_containers_process(struct batadv_priv *bat_priv,
-				   bool ogm_source,
+				   u8 packet_type,
 				   struct batadv_orig_node *orig_node,
-				   u8 *src, u8 *dst,
-				   void *tvlv_value, u16 tvlv_value_len)
+				   struct sk_buff *skb, void *tvlv_value,
+				   u16 tvlv_value_len)
 {
 	struct batadv_tvlv_handler *tvlv_handler;
 	struct batadv_tvlv_hdr *tvlv_hdr;
@@ -441,20 +459,24 @@  int batadv_tvlv_containers_process(struct batadv_priv *bat_priv,
 						       tvlv_hdr->version);
 
 		ret |= batadv_tvlv_call_handler(bat_priv, tvlv_handler,
-						ogm_source, orig_node,
-						src, dst, tvlv_value,
+						packet_type, orig_node, skb,
+						tvlv_value,
 						tvlv_value_cont_len);
 		batadv_tvlv_handler_put(tvlv_handler);
 		tvlv_value = (u8 *)tvlv_value + tvlv_value_cont_len;
 		tvlv_value_len -= tvlv_value_cont_len;
 	}
 
-	if (!ogm_source)
+	if (packet_type != BATADV_IV_OGM &&
+	    packet_type != BATADV_OGM2)
 		return ret;
 
 	rcu_read_lock();
 	hlist_for_each_entry_rcu(tvlv_handler,
 				 &bat_priv->tvlv.handler_list, list) {
+		if (!tvlv_handler->ogm_handler)
+			continue;
+
 		if ((tvlv_handler->flags & BATADV_TVLV_HANDLER_OGM_CIFNOTFND) &&
 		    !(tvlv_handler->flags & BATADV_TVLV_HANDLER_OGM_CALLED))
 			tvlv_handler->ogm_handler(bat_priv, orig_node,
@@ -490,7 +512,7 @@  void batadv_tvlv_ogm_receive(struct batadv_priv *bat_priv,
 
 	tvlv_value = batadv_ogm_packet + 1;
 
-	batadv_tvlv_containers_process(bat_priv, true, orig_node, NULL, NULL,
+	batadv_tvlv_containers_process(bat_priv, BATADV_IV_OGM, orig_node, NULL,
 				       tvlv_value, tvlv_value_len);
 }
 
@@ -504,6 +526,10 @@  void batadv_tvlv_ogm_receive(struct batadv_priv *bat_priv,
  * @uptr: unicast tvlv handler callback function. This function receives the
  *  source & destination of the unicast packet as well as the tvlv content
  *  to process.
+ * @mptr: multicast packet tvlv handler callback function. This function
+ *  receives the full skb to process, with the skb network header pointing
+ *  to the current tvlv and the skb transport header pointing to the first
+ *  byte after the current tvlv.
  * @type: tvlv handler type to be registered
  * @version: tvlv handler version to be registered
  * @flags: flags to enable or disable TVLV API behavior
@@ -518,6 +544,8 @@  void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
 					      u8 *src, u8 *dst,
 					      void *tvlv_value,
 					      u16 tvlv_value_len),
+				  int (*mptr)(struct batadv_priv *bat_priv,
+					      struct sk_buff *skb),
 				  u8 type, u8 version, u8 flags)
 {
 	struct batadv_tvlv_handler *tvlv_handler;
@@ -539,6 +567,7 @@  void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
 
 	tvlv_handler->ogm_handler = optr;
 	tvlv_handler->unicast_handler = uptr;
+	tvlv_handler->mcast_handler = mptr;
 	tvlv_handler->type = type;
 	tvlv_handler->version = version;
 	tvlv_handler->flags = flags;
diff --git a/net/batman-adv/tvlv.h b/net/batman-adv/tvlv.h
index 4cf8af00fc11..ebf8b4037adb 100644
--- a/net/batman-adv/tvlv.h
+++ b/net/batman-adv/tvlv.h
@@ -34,14 +34,16 @@  void batadv_tvlv_handler_register(struct batadv_priv *bat_priv,
 					      u8 *src, u8 *dst,
 					      void *tvlv_value,
 					      u16 tvlv_value_len),
+				  int (*mptr)(struct batadv_priv *bat_priv,
+					      struct sk_buff *skb),
 				  u8 type, u8 version, u8 flags);
 void batadv_tvlv_handler_unregister(struct batadv_priv *bat_priv,
 				    u8 type, u8 version);
 int batadv_tvlv_containers_process(struct batadv_priv *bat_priv,
-				   bool ogm_source,
+				   u8 packet_type,
 				   struct batadv_orig_node *orig_node,
-				   u8 *src, u8 *dst,
-				   void *tvlv_buff, u16 tvlv_buff_len);
+				   struct sk_buff *skb, void *tvlv_buff,
+				   u16 tvlv_buff_len);
 void batadv_tvlv_unicast_send(struct batadv_priv *bat_priv, const u8 *src,
 			      const u8 *dst, u8 type, u8 version,
 			      void *tvlv_value, u16 tvlv_value_len);
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h
index 758cd797a063..ca9449ec9836 100644
--- a/net/batman-adv/types.h
+++ b/net/batman-adv/types.h
@@ -2335,6 +2335,12 @@  struct batadv_tvlv_handler {
 			       u8 *src, u8 *dst,
 			       void *tvlv_value, u16 tvlv_value_len);
 
+	/**
+	 * @mcast_handler: handler callback which is given the tvlv payload to
+	 *  process on incoming mcast packet
+	 */
+	int (*mcast_handler)(struct batadv_priv *bat_priv, struct sk_buff *skb);
+
 	/** @type: tvlv type this handler feels responsible for */
 	u8 type;