]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: Use secs_to_jiffies() instead of msecs_to_jiffies()
authorThorsten Blum <thorsten.blum@linux.dev>
Fri, 21 Feb 2025 08:53:22 +0000 (09:53 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Feb 2025 02:20:33 +0000 (18:20 -0800)
commit8f3f4464ff08f70e959c026fad2f3790abe84be6
tree682bdaebb172253539d6227705dc43d7eccfa322
parent79936fcb77023a2275b028b323d3b50f33ad5947
net/mlx5: Use secs_to_jiffies() instead of msecs_to_jiffies()

Use secs_to_jiffies() and simplify the code.

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Saeed Mahameed <saeed@kernel.org>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Link: https://patch.msgid.link/20250221085350.198024-3-thorsten.blum@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc.c