batman-adv: Clarify calculation precedence for '&' and '?'

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
This commit is contained in:
Sven Eckelmann
2015-04-23 18:22:24 +02:00
committed by Antonio Quartulli
parent 1e2c2a4fe4
commit a2f2b6cd41
3 changed files with 23 additions and 23 deletions

View File

@@ -182,7 +182,7 @@ struct batadv_ogm_packet;
struct seq_file;
struct sk_buff;
#define BATADV_PRINT_VID(vid) (vid & BATADV_VLAN_HAS_TAG ? \
#define BATADV_PRINT_VID(vid) ((vid & BATADV_VLAN_HAS_TAG) ? \
(int)(vid & VLAN_VID_MASK) : -1)
extern char batadv_routing_algo[];