diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-11-15 10:29:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-16 17:43:10 -0500 |
commit | c8f44affb7244f2ac3e703cab13d55ede27621bb (patch) | |
tree | 62e7aea2916a8d7cab825fe500670c5113854c0f /drivers/s390/net/qeth_l3_main.c | |
parent | a59e2ecb859f2ab03bb2e230709f8039472ad2c3 (diff) |
net: introduce and use netdev_features_t for device features sets
v2: add couple missing conversions in drivers
split unexporting netdev_fix_features()
implemented %pNF
convert sock::sk_route_(no?)caps
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l3_main.c')
-rw-r--r-- | drivers/s390/net/qeth_l3_main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index e4c1176ee25..a64f9e789b0 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c | |||
@@ -3202,7 +3202,8 @@ static int qeth_l3_stop(struct net_device *dev) | |||
3202 | return 0; | 3202 | return 0; |
3203 | } | 3203 | } |
3204 | 3204 | ||
3205 | static u32 qeth_l3_fix_features(struct net_device *dev, u32 features) | 3205 | static netdev_features_t qeth_l3_fix_features(struct net_device *dev, |
3206 | netdev_features_t features) | ||
3206 | { | 3207 | { |
3207 | struct qeth_card *card = dev->ml_priv; | 3208 | struct qeth_card *card = dev->ml_priv; |
3208 | 3209 | ||
@@ -3216,7 +3217,8 @@ static u32 qeth_l3_fix_features(struct net_device *dev, u32 features) | |||
3216 | return features; | 3217 | return features; |
3217 | } | 3218 | } |
3218 | 3219 | ||
3219 | static int qeth_l3_set_features(struct net_device *dev, u32 features) | 3220 | static int qeth_l3_set_features(struct net_device *dev, |
3221 | netdev_features_t features) | ||
3220 | { | 3222 | { |
3221 | struct qeth_card *card = dev->ml_priv; | 3223 | struct qeth_card *card = dev->ml_priv; |
3222 | u32 changed = dev->features ^ features; | 3224 | u32 changed = dev->features ^ features; |