diff options
author | Easwar Hariharan <eahariha@linux.microsoft.com> | 2025-02-19 21:36:40 +0000 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2025-04-07 15:03:13 -0300 |
commit | 16b82367aa28bd31795e720548421b58824108e1 (patch) | |
tree | cd4c323df8db6707a2bba74a33a97351841f29a6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0af2f6be1b4281385b618cb86ad946eded089ac8 (diff) |
RDMA/mlx5: convert timeouts to secs_to_jiffies()
Commit b35108a51cf7 ("jiffies: Define secs_to_jiffies()") introduced
secs_to_jiffies(). As the value here is a multiple of 1000, use
secs_to_jiffies() instead of msecs_to_jiffies to avoid the multiplication.
This is converted using scripts/coccinelle/misc/secs_to_jiffies.cocci with
the following Coccinelle rules:
@depends on patch@
expression E;
@@
-msecs_to_jiffies(E * 1000)
+secs_to_jiffies(E)
-msecs_to_jiffies(E * MSEC_PER_SEC)
+secs_to_jiffies(E)
Link: https://patch.msgid.link/r/20250219-rdma-secs-to-jiffies-v1-2-b506746561a9@linux.microsoft.com
Signed-off-by: Easwar Hariharan <eahariha@linux.microsoft.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions