diff options
-rw-r--r-- | include/net/dcbnl.h | 2 | ||||
-rw-r--r-- | net/dcb/dcbnl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/dcbnl.h b/include/net/dcbnl.h index c14fd9483e4..d5bbb797757 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 | ||
31 | u8 dcb_setapp(struct net_device *, struct dcb_app *); | 31 | int dcb_setapp(struct net_device *, struct dcb_app *); |
32 | u8 dcb_getapp(struct net_device *, struct dcb_app *); | 32 | u8 dcb_getapp(struct net_device *, struct dcb_app *); |
33 | int dcb_ieee_setapp(struct net_device *, struct dcb_app *); | 33 | int dcb_ieee_setapp(struct net_device *, struct dcb_app *); |
34 | int dcb_ieee_delapp(struct net_device *, struct dcb_app *); | 34 | int dcb_ieee_delapp(struct net_device *, struct dcb_app *); |
diff --git a/net/dcb/dcbnl.c b/net/dcb/dcbnl.c index b7d0be01dcc..f54c784e2b5 100644 --- a/net/dcb/dcbnl.c +++ b/net/dcb/dcbnl.c | |||
@@ -1885,7 +1885,7 @@ EXPORT_SYMBOL(dcb_getapp); | |||
1885 | * removes applications from the app list if the priority is | 1885 | * removes applications from the app list if the priority is |
1886 | * set to zero. | 1886 | * set to zero. |
1887 | */ | 1887 | */ |
1888 | u8 dcb_setapp(struct net_device *dev, struct dcb_app *new) | 1888 | int dcb_setapp(struct net_device *dev, struct dcb_app *new) |
1889 | { | 1889 | { |
1890 | struct dcb_app_type *itr; | 1890 | struct dcb_app_type *itr; |
1891 | struct dcb_app_type event; | 1891 | struct dcb_app_type event; |