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(). A
following Coccinelle rules:
@@ constant C; @@
- msecs_to_jiffies(C * 1000)
+ secs_to_jiffies(C)
@@ constant C; @@
- msecs_to_jiffies(C * MSEC_PER_SEC)
+ secs_to_jiffies(C)
While here, replace the schedule_delayed_work() call with a 0 timeout
with an immediate schedule_work() call.
Signed-off-
i with
the following Coccinelle rules:
@@ constant C; @@
- msecs_to_jiffies(C * 1000)
+ secs_to_jiffies(C)
@@ constant C; @@
- msecs_to_jiffies(C * MSEC_PER_SEC)
+ secs_to_jiffies(C)
While here, manually convert the one other remaining instance as
requested.
Acked-by: Alexander Gordeev
Signed-off-
Fixups for a couple of patches that received review after the series was
queued into mm.
Signed-off-by: Easwar Hariharan
---
Changes in v4:
- Replace schedule_delayed_work() that had a 0 timeout with
schedule_work() in livepatch (Christophe Leroy)
- Added requested hunk in s390 (Alexander
4 matches
Mail list logo