devlink: fix sb register stub in case devlink is disabled
authorJiri Pirko <[email protected]>
Fri, 15 Apr 2016 07:17:08 +0000 (09:17 +0200)
committerDavid 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

index be64218e025434bde67ce5e70631c67fc812fa8e..1d45b61cb320b979bea8acd08cf35783302bfa72 100644 (file)
@@ -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;
 }