aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/hw/rss_api.py
diff options
context:
space:
mode:
authorEaswar Hariharan <[email protected]>2025-07-07 22:03:32 +0000
committerJakub Kicinski <[email protected]>2025-07-10 02:25:01 +0000
commit4814f9110ec6b7b2a25ec0c397f996ce34d31115 (patch)
treee4e67cb106062e437cad86ce0ef0d391cd1b474d /tools/testing/selftests/drivers/net/hw/rss_api.py
parentgve: make IRQ handlers and page allocation NUMA aware (diff)
downloadkernel-4814f9110ec6b7b2a25ec0c397f996ce34d31115.tar.gz
kernel-4814f9110ec6b7b2a25ec0c397f996ce34d31115.zip
net/smc: 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) Signed-off-by: Easwar Hariharan <[email protected]> Reviewed-by: Dust Li <[email protected]> Reviewed-by: Guangguan Wang <[email protected]> Link: https://patch.msgid.link/20250707-netdev-secs-to-jiffies-part-2-v2-1-b7817036342f@linux.microsoft.com Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/rss_api.py')
0 files changed, 0 insertions, 0 deletions