Re: [PATCH 2/2] drivers: hv: Convert open-coded timeouts to secs_to_jiffies()

2024-10-23 Thread Easwar Hariharan
On 10/22/2024 10:36 PM, Praveen Kumar wrote: > On 23-10-2024 00:23, Easwar Hariharan wrote: >> 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

Re: [PATCH 2/2] drivers: hv: Convert open-coded timeouts to secs_to_jiffies()

2024-10-22 Thread Praveen Kumar
On 23-10-2024 00:23, Easwar Hariharan wrote: > 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. > > Sign

Re: [PATCH 2/2] drivers: hv: Convert open-coded timeouts to secs_to_jiffies()

2024-10-22 Thread Easwar Hariharan
On 10/22/2024 11:53 AM, Easwar Hariharan wrote: > 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. > > S