aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohn Fastabend <john.r.fastabend@intel.com>2011-06-21 03:34:58 -0400
committerDavid S. Miller <davem@davemloft.net>2011-06-21 19:06:12 -0400
commitab6baf980b095c70a56c5eb2f58166aef8a0edc8 (patch)
tree89115281b86e9f5e59d30442f16e209b451b86ee /include
parenta364c8cf80251849bab207be8c9e66253c8ca8f8 (diff)
dcb: fix return type on dcb_setapp()
Incorrect return type on dcb_setapp() this routine returns negative error codes. All call sites of dcb_setapp() assign the return value to an int already so no need to update drivers. Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/dcbnl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/dcbnl.h b/include/net/dcbnl.h
index c14fd9483e46..d5bbb7977577 100644
--- a/include/net/dcbnl.h
+++ b/include/net/dcbnl.h
@@ -28,7 +28,7 @@ struct dcb_app_type {
28 struct list_head list; 28 struct list_head list;
29}; 29};
30 30
31u8 dcb_setapp(struct net_device *, struct dcb_app *); 31int dcb_setapp(struct net_device *, struct dcb_app *);
32u8 dcb_getapp(struct net_device *, struct dcb_app *); 32u8 dcb_getapp(struct net_device *, struct dcb_app *);
33int dcb_ieee_setapp(struct net_device *, struct dcb_app *); 33int dcb_ieee_setapp(struct net_device *, struct dcb_app *);
34int dcb_ieee_delapp(struct net_device *, struct dcb_app *); 34int dcb_ieee_delapp(struct net_device *, struct dcb_app *);