Re: [v5] Coccinelle: semantic code search for missing put_device()
From: Markus Elfring
Date: Sat Feb 16 2019 - 03:44:34 EST
>> Thus I do not see a need (or requirement) for a duplicate search attempt.
>
> Why don't you actually try it and see what the difference is rather than
> repeatedly giving false information?
I suggest to clarify this software development disagreement by the following
SmPL code.
... when != put_stuff(my_pointer)
when != if (...) { ... put_stuff(my_pointer) ... }
Is this a specification for a bit of duplicate code?
Or:
Do you insist to find such a function call only within a branch of an if statement?
Regards,
Markus