diff options
author | John Fastabend <john.r.fastabend@intel.com> | 2011-06-21 09:34:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-22 01:06:12 +0200 |
commit | ab6baf980b095c70a56c5eb2f58166aef8a0edc8 (patch) | |
tree | 89115281b86e9f5e59d30442f16e209b451b86ee /net/dcb/dcbnl.c | |
parent | dcb: Add dcb_ieee_getapp_mask() for drivers to query APP settings (diff) | |
download | linux-ab6baf980b095c70a56c5eb2f58166aef8a0edc8.tar.xz linux-ab6baf980b095c70a56c5eb2f58166aef8a0edc8.zip |
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 '')
-rw-r--r-- | net/dcb/dcbnl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dcb/dcbnl.c b/net/dcb/dcbnl.c index b7d0be01dcc4..f54c784e2b5b 100644 --- a/net/dcb/dcbnl.c +++ b/net/dcb/dcbnl.c @@ -1885,7 +1885,7 @@ EXPORT_SYMBOL(dcb_getapp); * removes applications from the app list if the priority is * set to zero. */ -u8 dcb_setapp(struct net_device *dev, struct dcb_app *new) +int dcb_setapp(struct net_device *dev, struct dcb_app *new) { struct dcb_app_type *itr; struct dcb_app_type event; |