projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
608b997
)
devlink: fix sb register stub in case devlink is disabled
author
Jiri Pirko
<
[email protected]
>
Fri, 15 Apr 2016 07:17:08 +0000
(09:17 +0200)
committer
David S. Miller
<
[email protected]
>
Fri, 15 Apr 2016 16:57:29 +0000
(12:57 -0400)
Reported-by: kbuild test robot <
[email protected]
>
Fixes: bf7974710a40 ("devlink: add shared buffer configuration")
Signed-off-by: Jiri Pirko <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
include/net/devlink.h
patch
|
blob
|
history
diff --git
a/include/net/devlink.h
b/include/net/devlink.h
index be64218e025434bde67ce5e70631c67fc812fa8e..1d45b61cb320b979bea8acd08cf35783302bfa72 100644
(file)
--- a/
include/net/devlink.h
+++ b/
include/net/devlink.h
@@
-184,7
+184,9
@@
static inline void devlink_port_split_set(struct devlink_port *devlink_port,
static inline int devlink_sb_register(struct devlink *devlink,
unsigned int sb_index, u32 size,
u16 ingress_pools_count,
- u16 egress_pools_count, u16 tc_count)
+ u16 egress_pools_count,
+ u16 ingress_tc_count,
+ u16 egress_tc_count)
{
return 0;
}