Skip to contentSkip to conversation

devlink: Remove top_hierarchy arg for DEVLINK disabled path

PATCH Applied David Ahern 2 participants 2 messages Mar 23, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 devlink: Remove top_hierarchy arg for DEVLINK disabled path

Earlier change missed the path where CONFIG_NET_DEVLINK is disabled. Thanks to Jiri for spotting.

Fixes 145307460ba9 ("devlink: Remove top_hierarchy arg to devlink_resource_register")
---
 include/net/devlink.h | 1 -
 1 file changed, 1 deletion(-)
include/net/devlink.h +0 -1
index d5b707375e48..e21d8cadd480 100644
@@ -559,7 +559,6 @@ devlink_dpipe_match_put(struct sk_buff *skb,
 static inline int
 devlink_resource_register(struct devlink *devlink,
 			  const char *resource_name,
-			  bool top_hierarchy,
 			  u64 resource_size,
 			  u64 resource_id,
 			  u64 parent_resource_id,
Signature · 1 line
2.11.0
maintainer Applied
#1 lore raw

From: David Ahern <[email protected]>
Date: Fri, 23 Mar 2018 08:09:48 -0700

Quoted 5 lines

Earlier change missed the path where CONFIG_NET_DEVLINK is disabled. Thanks to Jiri for spotting.

Fixes 145307460ba9 ("devlink: Remove top_hierarchy arg to devlink_resource_register")

Applied, thanks David.