mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
netdev: Consistently use 'enum netdev_features'.
Without this patch sparse gives me warnings. At any rate, it's cleaner to be consistent. Signed-off-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -604,7 +604,8 @@ netdev_get_features(const struct netdev *netdev,
|
||||
|
||||
get_features = netdev_get_dev(netdev)->netdev_class->get_features;
|
||||
error = get_features
|
||||
? get_features(netdev, current, advertised, supported, peer)
|
||||
? get_features(netdev, current, advertised, supported,
|
||||
peer)
|
||||
: EOPNOTSUPP;
|
||||
if (error) {
|
||||
*current = *advertised = *supported = *peer = 0;
|
||||
|
Reference in New Issue
Block a user