batman-adv: Avoid precedence issues in macros
authorSven Eckelmann <sven@narfation.org>
Wed, 21 Sep 2016 07:23:50 +0000 (09:23 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Wed, 19 Oct 2016 06:37:54 +0000 (08:37 +0200)
commit4c7da0f6dbcde2431d773ce03cde5e7abede54e0
tree74cca95977875552284b882a393ef10fc5d94115
parent507b37cf71c86b7ceaebf333b8ae488a600f5afd
batman-adv: Avoid precedence issues in macros

It must be avoided that arguments to a macro are evaluated ungrouped (which
enforces normal operator precendence). Otherwise the result of the macro
is not well defined.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/log.h
net/batman-adv/main.h
net/batman-adv/packet.h