]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Prefix bridge_loop_avoidance non-static functions with batadv_
authorSven Eckelmann <sven@narfation.org>
Sat, 12 May 2012 11:38:47 +0000 (13:38 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 20 Jun 2012 20:15:17 +0000 (22:15 +0200)
commita9e0395db1f62ed9b2bbe1a028c1a55cefb92d2e
treec0300fbf9717978726becbbdf14f1332178e78cd
parentbde3dd6133b9c15940d2450c670d16a83caedb21
batman-adv: Prefix bridge_loop_avoidance 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>
net/batman-adv/bat_debugfs.c
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/bridge_loop_avoidance.h
net/batman-adv/hard-interface.c
net/batman-adv/main.c
net/batman-adv/routing.c
net/batman-adv/soft-interface.c
net/batman-adv/translation-table.c