diff options
author | Anish Bhatt <anish@chelsio.com> | 2014-07-17 07:32:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-18 01:02:29 +0200 |
commit | c2659479f7865fb538493089bce3dd3d2abf90b0 (patch) | |
tree | be1dbef19fbeb971a8a6445536d80f1a163fe465 /include/net/dcbnl.h | |
parent | net_sched: cancel nest attribute on failure in tcf_exts_dump() (diff) | |
download | linux-c2659479f7865fb538493089bce3dd3d2abf90b0.tar.xz linux-c2659479f7865fb538493089bce3dd3d2abf90b0.zip |
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 { void (*setbcncfg)(struct net_device *, int, u32); void (*getbcnrp)(struct net_device *, int, u8 *); void (*setbcnrp)(struct net_device *, int, u8); - u8 (*setapp)(struct net_device *, u8, u16, u8); - u8 (*getapp)(struct net_device *, u8, u16); + int (*setapp)(struct net_device *, u8, u16, u8); + int (*getapp)(struct net_device *, u8, u16); u8 (*getfeatcfg)(struct net_device *, int, u8 *); u8 (*setfeatcfg)(struct net_device *, int, u8); |