* [PATCH net-next v1] devlink: Remove misleading internal_flags from health reporter dump
@ 2021-11-28 12:14 Leon Romanovsky
2021-11-29 13:10 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Leon Romanovsky @ 2021-11-28 12:14 UTC (permalink / raw)
To: David S . Miller, Jakub Kicinski
Cc: Leon Romanovsky, Aya Levin, Jiri Pirko, linux-kernel, netdev,
Saeed Mahameed
From: Leon Romanovsky <leonro@nvidia.com>
DEVLINK_CMD_HEALTH_REPORTER_DUMP_GET command doesn't have .doit callback
and has no use in internal_flags at all. Remove this misleading assignment.
Fixes: e44ef4e4516c ("devlink: Hang reporter's dump method on a dumpit cb")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
---
v1:
* Sent as standalone change
v0: https://lore.kernel.org/all/cover.1637173517.git.leonro@nvidia.com
---
net/core/devlink.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/core/devlink.c b/net/core/devlink.c
index d144a62cbf73..fd21022145a3 100644
--- a/net/core/devlink.c
+++ b/net/core/devlink.c
@@ -8845,8 +8845,6 @@ static const struct genl_small_ops devlink_nl_ops[] = {
GENL_DONT_VALIDATE_DUMP_STRICT,
.dumpit = devlink_nl_cmd_health_reporter_dump_get_dumpit,
.flags = GENL_ADMIN_PERM,
- .internal_flags = DEVLINK_NL_FLAG_NEED_DEVLINK_OR_PORT |
- DEVLINK_NL_FLAG_NO_LOCK,
},
{
.cmd = DEVLINK_CMD_HEALTH_REPORTER_DUMP_CLEAR,
--
2.33.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH net-next v1] devlink: Remove misleading internal_flags from health reporter dump
2021-11-28 12:14 [PATCH net-next v1] devlink: Remove misleading internal_flags from health reporter dump Leon Romanovsky
@ 2021-11-29 13:10 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-11-29 13:10 UTC (permalink / raw)
To: Leon Romanovsky
Cc: davem, kuba, leonro, ayal, jiri, linux-kernel, netdev, saeedm
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:
On Sun, 28 Nov 2021 14:14:46 +0200 you wrote:
> From: Leon Romanovsky <leonro@nvidia.com>
>
> DEVLINK_CMD_HEALTH_REPORTER_DUMP_GET command doesn't have .doit callback
> and has no use in internal_flags at all. Remove this misleading assignment.
>
> Fixes: e44ef4e4516c ("devlink: Hang reporter's dump method on a dumpit cb")
> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
>
> [...]
Here is the summary with links:
- [net-next,v1] devlink: Remove misleading internal_flags from health reporter dump
https://git.kernel.org/netdev/net-next/c/e9538f8270db
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-29 14:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-28 12:14 [PATCH net-next v1] devlink: Remove misleading internal_flags from health reporter dump Leon Romanovsky
2021-11-29 13:10 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®