aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_functions.c
diff options
context:
space:
mode:
authorEaswar Hariharan <[email protected]>2024-10-30 17:47:36 +0000
committerWei Liu <[email protected]>2024-12-09 18:44:14 +0000
commit67b5e1042d90d8a9814f22312c1147b4c9cd501a (patch)
tree7fb2c60f22eb340f3e4a70d0a95320d4308ddda2 /kernel/trace/trace_functions.c
parenttools: hv: change permissions of NetworkManager configuration file (diff)
downloadkernel-67b5e1042d90d8a9814f22312c1147b4c9cd501a.tar.gz
kernel-67b5e1042d90d8a9814f22312c1147b4c9cd501a.zip
drivers: hv: Convert open-coded timeouts to secs_to_jiffies()
We have several places where timeouts are open-coded as N (seconds) * HZ, but best practice is to use the utility functions from jiffies.h. Convert the timeouts to be compliant. This doesn't fix any bugs, it's a simple code improvement. Signed-off-by: Easwar Hariharan <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/20241030-open-coded-timeouts-v3-2-9ba123facf88@linux.microsoft.com Signed-off-by: Wei Liu <[email protected]> Message-ID: <20241030-open-coded-timeouts-v3-2-9ba123facf88@linux.microsoft.com>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions