netdevice: Add missing parentheses in macro
authorBenjamin Poirier <bpoirier@suse.de>
Wed, 14 Jan 2015 07:52:35 +0000 (16:52 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Jan 2015 21:34:41 +0000 (16:34 -0500)
commit4ccce02eb31b847dd6bf8486f037ba1db39403c5
tree7e5ea9ced71bf9e2153c37380b595bdc7f520538
parentd92cfdbbeaefb467de4fac98679fa6c33461d250
netdevice: Add missing parentheses in macro

For example, one could conceivably call
for_each_netdev_in_bond_rcu(condition ? bond1 : bond2, slave)
and get an unexpected result.

Signed-off-by: Benjamin Poirier <bpoirier@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h