Commit ab6baf98 authored by John Fastabend's avatar John Fastabend Committed by David S. Miller

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: default avatarJohn Fastabend <john.r.fastabend@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a364c8cf
...@@ -28,7 +28,7 @@ struct dcb_app_type { ...@@ -28,7 +28,7 @@ struct dcb_app_type {
struct list_head list; struct list_head list;
}; };
u8 dcb_setapp(struct net_device *, struct dcb_app *); int dcb_setapp(struct net_device *, struct dcb_app *);
u8 dcb_getapp(struct net_device *, struct dcb_app *); u8 dcb_getapp(struct net_device *, struct dcb_app *);
int dcb_ieee_setapp(struct net_device *, struct dcb_app *); int dcb_ieee_setapp(struct net_device *, struct dcb_app *);
int dcb_ieee_delapp(struct net_device *, struct dcb_app *); int dcb_ieee_delapp(struct net_device *, struct dcb_app *);
......
...@@ -1885,7 +1885,7 @@ EXPORT_SYMBOL(dcb_getapp); ...@@ -1885,7 +1885,7 @@ EXPORT_SYMBOL(dcb_getapp);
* removes applications from the app list if the priority is * removes applications from the app list if the priority is
* set to zero. * 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 *itr;
struct dcb_app_type event; struct dcb_app_type event;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment