Re: [v2] coccinelle: semantic patch to check for inappropriate do_div() calls

From: Markus Elfring
Date: Thu Jan 09 2020 - 07:01:18 EST


>> Thus I suggest now to split the source code search pattern into
>> four separate rules.
>
> Why?

Does the Coccinelle software ensure that a variable like âr.ulâ contains
really useful data even if the expected branch of the SmPL disjunction
was occasionally not matched?

Regards,
Markus