Re: [PATCH] RDMA/mlx4: Use secs_to_jiffies() instead of open-coding
From: Leon Romanovsky
Date: Tue May 12 2026 - 06:39:21 EST
On Tue, 05 May 2026 13:23:07 +0530, Rohit Chavan wrote:
> The conversion from seconds to jiffies is currently performed by
> multiplying the value by 1000 and passing it to msecs_to_jiffies().
>
> Use the more direct secs_to_jiffies() helper instead. This simplifies the
> code, improves readability, and avoids the manual multiplication step
> by using the dedicated kernel API.
>
> [...]
Applied, thanks!
[1/1] RDMA/mlx4: Use secs_to_jiffies() instead of open-coding
https://git.kernel.org/rdma/rdma/c/8b2a66cb49546c
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>