Re: [PATCH v3 14/19] wifi: ath11k: Convert timeouts to secs_to_jiffies()

2024-12-10 Thread Kalle Valo
Kalle Valo writes: > Easwar Hariharan writes: > >> 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 s

Re: [PATCH v3 14/19] wifi: ath11k: Convert timeouts to secs_to_jiffies()

2024-12-10 Thread Kalle Valo
Easwar Hariharan writes: > 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_t

[PATCH v3 14/19] wifi: ath11k: Convert timeouts to secs_to_jiffies()

2024-12-10 Thread Easwar Hariharan
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 C