batman-adv: Prefix soft-interface non-static functions with batadv_
batman-adv can be compiled as part of the kernel instead of an module. In that case the linker will see all non-static symbols of batman-adv and all other non-static symbols of the kernel. This could lead to symbol collisions. A prefix for the batman-adv symbols that defines their private namespace avoids such a problem. Reported-by:David Miller <davem@davemloft.net> Signed-off-by:
Sven Eckelmann <sven@narfation.org>
Showing
- net/batman-adv/hard-interface.c 4 additions, 4 deletionsnet/batman-adv/hard-interface.c
- net/batman-adv/routing.c 5 additions, 4 deletionsnet/batman-adv/routing.c
- net/batman-adv/send.c 1 addition, 1 deletionnet/batman-adv/send.c
- net/batman-adv/soft-interface.c 8 additions, 8 deletionsnet/batman-adv/soft-interface.c
- net/batman-adv/soft-interface.h 6 additions, 7 deletionsnet/batman-adv/soft-interface.h
- net/batman-adv/unicast.c 3 additions, 3 deletionsnet/batman-adv/unicast.c
Loading
Please register or sign in to comment