Commit 62c1bff593b7 added an extra HZ along with msecs_to_jiffies.
This patch fixes that.

Cc: sta...@vger.kernel.org
Fixes: 62c1bff593b7 ("net: mana: Configure hwc timeout from hardware")
Signed-off-by: Souradeep Chakrabarti <schakraba...@linux.microsoft.com>
---
 drivers/net/ethernet/microsoft/mana/hw_channel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/microsoft/mana/hw_channel.c 
b/drivers/net/ethernet/microsoft/mana/hw_channel.c
index 2729a2c5acf9..ca814fe8a775 100644
--- a/drivers/net/ethernet/microsoft/mana/hw_channel.c
+++ b/drivers/net/ethernet/microsoft/mana/hw_channel.c
@@ -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;
-- 
2.34.1


Reply via email to