]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Convert BATADV_PRINT_VID macro to function
authorSven Eckelmann <sven@narfation.org>
Wed, 22 Feb 2017 16:16:42 +0000 (17:16 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Thu, 16 Mar 2017 20:14:53 +0000 (21:14 +0100)
commit9a45e3399e6ceb9775f1a6aab98901fb4ead132f
tree3957c6785eb185496ec60b2649d3bfde17461e75
parent9b0404ed653ae2401879268f07e76543d26f6111
batman-adv: Convert BATADV_PRINT_VID macro to function

The BATADV_PRINT_VID is not free of of possible side-effects. This can be
avoided when the the macro is converted to a simple inline function.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/distributed-arp-table.c
net/batman-adv/main.h
net/batman-adv/translation-table.c