From: Leon Romanovsky <leon@kernel.org>
To: yishaih@nvidia.com, Jason Gunthorpe <jgg@ziepe.ca>,
linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
Rohit Chavan <roheetchavan@gmail.com>
Subject: Re: [PATCH] RDMA/mlx4: Use secs_to_jiffies() instead of open-coding
Date: Tue, 12 May 2026 06:38:44 -0400 [thread overview]
Message-ID: <177858232406.2277459.8653199587688444747.b4-ty@kernel.org> (raw)
In-Reply-To: <20260505075308.1754861-1-roheetchavan@gmail.com>
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@kernel.org>
prev parent reply other threads:[~2026-05-12 10:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-05 7:53 [PATCH] RDMA/mlx4: Use secs_to_jiffies() instead of open-coding Rohit Chavan
2026-05-12 10:38 ` Leon Romanovsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=177858232406.2277459.8653199587688444747.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=jgg@ziepe.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=roheetchavan@gmail.com \
--cc=yishaih@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox