Re: [PATCH 01/16] coccinelle: misc: secs_to_jiffies: Patch expressions too

2025-01-31 Thread Easwar Hariharan
On 1/30/2025 3:01 AM, Markus Elfring wrote: >> Teach the script to suggest conversions for timeout patterns where the >> arguments to msecs_to_jiffies() are expressions as well. > > Does anything hinder to benefit any more from a source code analysis approach > (like the following by the extended

Re: [PATCH 01/16] coccinelle: misc: secs_to_jiffies: Patch expressions too

2025-01-30 Thread Markus Elfring
> Teach the script to suggest conversions for timeout patterns where the > arguments to msecs_to_jiffies() are expressions as well. Does anything hinder to benefit any more from a source code analysis approach (like the following by the extended means of the semantic patch language)? // SPDX-Lic

Re: [PATCH 01/16] coccinelle: misc: secs_to_jiffies: Patch expressions too

2025-01-28 Thread Easwar Hariharan
On 1/28/2025 1:02 PM, Markus Elfring wrote: >> Teach the script to suggest conversions for timeout patterns where the >> arguments to msecs_to_jiffies() are expressions as well. > > I propose to take another look at implementation details for such a script > variant > according to the semantic pa

Re: [PATCH 01/16] coccinelle: misc: secs_to_jiffies: Patch expressions too

2025-01-28 Thread Markus Elfring
> Teach the script to suggest conversions for timeout patterns where the > arguments to msecs_to_jiffies() are expressions as well. I propose to take another look at implementation details for such a script variant according to the semantic patch language. … > +++ b/scripts/coccinelle/misc/secs

[PATCH 01/16] coccinelle: misc: secs_to_jiffies: Patch expressions too

2025-01-28 Thread Easwar Hariharan
Teach the script to suggest conversions for timeout patterns where the arguments to msecs_to_jiffies() are expressions as well. Signed-off-by: Easwar Hariharan --- scripts/coccinelle/misc/secs_to_jiffies.cocci | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --