aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorEaswar Hariharan <[email protected]>2025-02-25 20:17:29 +0000
committerIlpo Järvinen <[email protected]>2025-03-21 15:53:54 +0000
commitb3e8dc1143b93e0048c631eeb2947584960da33b (patch)
treef67dc930af6a208f5ea0578b2a508f5b2b42e1bc /net/unix/sysctl_net_unix.c
parentirqdomain: platform/x86: Switch to irq_domain_create_linear() (diff)
downloadkernel-b3e8dc1143b93e0048c631eeb2947584960da33b.tar.gz
kernel-b3e8dc1143b93e0048c631eeb2947584960da33b.zip
platform/x86: thinkpad_acpi: 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 +secs_to_jiffies (E - * \( 1000 \| MSEC_PER_SEC \) ) Signed-off-by: Easwar Hariharan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Link: https://lore.kernel.org/r/20250225-converge-secs-to-jiffies-part-two-v3-15-a43967e36c88@linux.microsoft.com Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions