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:

committed by
Antonio Quartulli

parent
1e2c2a4fe4
commit
a2f2b6cd41
@@ -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[];
|
||||
|
Reference in New Issue
Block a user