diff options
author | Easwar Hariharan <eahariha@linux.microsoft.com> | 2024-10-30 17:47:36 +0000 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2024-12-09 18:44:14 +0000 |
commit | 67b5e1042d90d8a9814f22312c1147b4c9cd501a (patch) | |
tree | 7fb2c60f22eb340f3e4a70d0a95320d4308ddda2 /drivers/hv/hv_util.c | |
parent | 91ae69c7ed9e262f24240c425ad1eef2cf6639b7 (diff) |
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 <eahariha@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/20241030-open-coded-timeouts-v3-2-9ba123facf88@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20241030-open-coded-timeouts-v3-2-9ba123facf88@linux.microsoft.com>
Diffstat (limited to 'drivers/hv/hv_util.c')
0 files changed, 0 insertions, 0 deletions