On Thu, 2015-12-03 at 12:12 +0100, Jiri Pirko wrote:
> * struct net_device - The DEVICE structure.
> @@ -3887,6 +3890,11 @@ static inline bool netif_is_ovs_master(const struct
> net_device *dev)
> return dev->priv_flags & IFF_OPENVSWITCH;
> }
>
> +static inline bool netif_is_team_master(struct net_device *dev)
> +{
> + return dev->priv_flags & IFF_TEAM;
> +}
> +
Please add 'const' qualifiers whenever possible, like for
netif_is_ovs_master(const struct net_device *dev)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html