[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250220071327.GL53094@unreal>
Date: Thu, 20 Feb 2025 09:13:27 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Jacob Keller <jacob.e.keller@...el.com>
Cc: Thorsten Blum <thorsten.blum@...ux.dev>,
Saeed Mahameed <saeedm@...dia.com>,
Tariq Toukan <tariqt@...dia.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Yevgeny Kliteynik <kliteyn@...dia.com>,
Mark Bloch <mbloch@...dia.com>, Itamar Gozlan <igozlan@...dia.com>,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net/mlx5: Use secs_to_jiffies() instead of
msecs_to_jiffies()
On Wed, Feb 19, 2025 at 03:45:02PM -0800, Jacob Keller wrote:
>
>
> On 2/19/2025 12:49 PM, Thorsten Blum wrote:
> > Use secs_to_jiffies() and simplify the code.
> >
> > Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
>
> nit: this is a cleanup which should have the net-next prefix applied,
> since this doesn't fix any user visible behavior.
>
> Otherwise, seems like an ok change.
IMHO, completely useless change for old code. I can see a value in new
secs_to_jiffies() function for new code, but not for old code. I want
to believe that people who write kernel patches aware that 1000 msec
equal to 1 sec.
Thanks
Powered by blists - more mailing lists