net: mana: Fix the extra HZ in mana_hwc_send_request
Subsystems (6)
PATCH v2 1/1 net: mana: Fix the extra HZ in mana_hwc_send_request
Commit 62c1bff593b7 added an extra HZ along with msecs_to_jiffies. This patch fixes that.
Fixes 62c1bff593b7 ("net: mana: Configure hwc timeout from hardware")
Signed-off-by Souradeep Chakrabarti <[email protected]>
Reviewed-by Brett Creeley <[email protected]>
Reviewed-by Dexuan Cui <[email protected]>
--- drivers/net/ethernet/microsoft/mana/hw_channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/microsoft/mana/hw_channel.c +1 -1
@@ -848,7 +848,7 @@ int mana_hwc_send_request(struct hw_channel_context *hwc, u32 req_len, }if (!wait_for_completion_timeout (&ctx->comp_event, - (msecs_to_jiffies (hwc->hwc_timeout) *HZ ))) { + (msecs_to_jiffies (hwc->hwc_timeout)))) {dev_err (hwc->dev,"HWC: Request timed out!\n" ); err = -ETIMEDOUT ; goto out;
Signature · 1 line
2.34.1
This patch was applied to netdev/net.git (main) by Paolo Abeni <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <[email protected]>:
Quoted 10 lines · On Sun, 19 May 2024 23:05:04 -0700 you wrote:
Commit
62c1bff593b7added an extra HZ along withmsecs_to_jiffies. This patch fixes that.Fixes 62c1bff593b7 ("net: mana: Configure hwc timeout from hardware")Signed-off-by Souradeep Chakrabarti <[email protected]>Reviewed-by Brett Creeley <[email protected]>Reviewed-by Dexuan Cui <[email protected]>[...]
Here is the summary with links:
- [V2,net] net: mana: Fix the extra HZ in mana_hwc_send_request
https://git.kernel.org/netdev/net/c/9c91c7fadb17
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html