From: Jiri Pirko Date: Fri, 15 Apr 2016 07:17:08 +0000 (+0200) Subject: devlink: fix sb register stub in case devlink is disabled X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=de33efd0fb7f923cd41671b1f743c3a0d44dd953;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git devlink: fix sb register stub in case devlink is disabled Reported-by: kbuild test robot Fixes: bf7974710a40 ("devlink: add shared buffer configuration") Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/include/net/devlink.h b/include/net/devlink.h index be64218e0254..1d45b61cb320 100644 --- 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; }