Re: [cocci] [PATCH v3 04/16] ALSA: ac97: convert timeouts to secs_to_jiffies()

Markus Elfring
2025-02-26T11:55:48Z

…
> This is converted using scripts/coccinelle/misc/secs_to_jiffies.cocci with
> the following Coccinelle rules:

Is only a single SmPL script rule relevant here?

> @depends on patch@
> expression E;
> @@
>
> -msecs_to_jiffies
> +secs_to_jiffies
> (E
> - * \( 1000 \| MSEC_PER_SEC \)
> )

I would miss two space characters in the first text column.
Please avoid typos also in such SmPL code.
Would you like to compare your contributions with a previous change suggestion
like “[PATCH v3 03/16] accel/habanalabs: convert timeouts to secs_to_jiffies()”
once more?
https://lore.kernel.org/cocci/20250225-converge-secs-to-jiffies-part-two-v3-3-a43967e36c88@linux.microsoft.com/

Regards,
Markus