Re: [PATCH v4 2/2] livepatch: Convert timeouts to secs_to_jiffies()

2025-01-02 Thread Petr Mladek
On Wed 2024-12-18 09:35:46, Easwar Hariharan wrote: > On 12/18/2024 12:48 AM, Christophe Leroy wrote: > > > > > > Le 18/12/2024 à 09:38, Petr Mladek a écrit : > >> On Tue 2024-12-17 23:09:59, Easwar Hariharan wrote: > >>> Commit b35108a51cf7 ("jiffies: Define secs_to_jiffies()") introduced > >>>

Re: [PATCH v4 2/2] livepatch: Convert timeouts to secs_to_jiffies()

2024-12-18 Thread Easwar Hariharan
On 12/18/2024 12:48 AM, Christophe Leroy wrote: > > > Le 18/12/2024 à 09:38, Petr Mladek a écrit : >> On Tue 2024-12-17 23:09:59, Easwar Hariharan wrote: >>> Commit b35108a51cf7 ("jiffies: Define secs_to_jiffies()") introduced >>> secs_to_jiffies(). As the value here is a multiple of 1000, use >>

Re: [PATCH v4 2/2] livepatch: Convert timeouts to secs_to_jiffies()

2024-12-18 Thread Christophe Leroy
Le 18/12/2024 à 09:38, Petr Mladek a écrit : On Tue 2024-12-17 23:09:59, Easwar Hariharan wrote: 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 mult

Re: [PATCH v4 2/2] livepatch: Convert timeouts to secs_to_jiffies()

2024-12-18 Thread Petr Mladek
On Tue 2024-12-17 23:09:59, Easwar Hariharan wrote: > 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 scri

Re: [PATCH v4 2/2] livepatch: Convert timeouts to secs_to_jiffies()

2024-12-17 Thread Christophe Leroy
Le 18/12/2024 à 00:09, Easwar Hariharan a écrit : 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/coc

[PATCH v4 2/2] livepatch: Convert timeouts to secs_to_jiffies()

2024-12-17 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