diff options
author | Anish Bhatt <anish@chelsio.com> | 2014-07-17 01:32:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-17 19:02:29 -0400 |
commit | c2659479f7865fb538493089bce3dd3d2abf90b0 (patch) | |
tree | be1dbef19fbeb971a8a6445536d80f1a163fe465 /include/net/dcbnl.h | |
parent | 9cc63db5e1f2f1c387f1a4c9983cf1364fe4ef95 (diff) |
Update setapp/getapp prototypes in dcbnl_rtnl_ops to return int instead of u8
v2: fixed issue with checking return of dcbnl_rtnl_ops->getapp()
Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dcbnl.h')
-rw-r--r-- | include/net/dcbnl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/dcbnl.h b/include/net/dcbnl.h index a975edf21b22..597b88a94332 100644 --- a/include/net/dcbnl.h +++ b/include/net/dcbnl.h | |||
@@ -81,8 +81,8 @@ struct dcbnl_rtnl_ops { | |||
81 | void (*setbcncfg)(struct net_device *, int, u32); | 81 | void (*setbcncfg)(struct net_device *, int, u32); |
82 | void (*getbcnrp)(struct net_device *, int, u8 *); | 82 | void (*getbcnrp)(struct net_device *, int, u8 *); |
83 | void (*setbcnrp)(struct net_device *, int, u8); | 83 | void (*setbcnrp)(struct net_device *, int, u8); |
84 | u8 (*setapp)(struct net_device *, u8, u16, u8); | 84 | int (*setapp)(struct net_device *, u8, u16, u8); |
85 | u8 (*getapp)(struct net_device *, u8, u16); | 85 | int (*getapp)(struct net_device *, u8, u16); |
86 | u8 (*getfeatcfg)(struct net_device *, int, u8 *); | 86 | u8 (*getfeatcfg)(struct net_device *, int, u8 *); |
87 | u8 (*setfeatcfg)(struct net_device *, int, u8); | 87 | u8 (*setfeatcfg)(struct net_device *, int, u8); |
88 | 88 | ||