2
0
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:
Ethan Jackson
2012-03-09 13:53:22 -08:00
parent e9358af610
commit a00ca915ff
2 changed files with 12 additions and 9 deletions

View File

@@ -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;