]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit669358f0048ce9ba6ad9c2d58767b8f3523dd02b
tree74cca95977875552284b882a393ef10fc5d94115
parent6535c31fac4e6a48fed68748e1afcc417f2d100b
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