> +/// Find missing of_node_put > +/// > +// Confidence: Moderate How much would you like to improve the situation around recurring software development concerns for such source code analysis approaches? > +virtual report > +virtual org I would interpret the provided SmPL code in the way that it will not generate adjusted (patched) C code so far. Source code search results will be presented by these operation modes. How do you think about to exchange the word “patch” by “code search” at affected places (and in the subject) then? > +@r exists@ > +local idexpression struct device_node *x; > +identifier f; > +statement S,S1,S2; > +expression e,e1; > +position p1,p2; > +type T,T1; > +@@ > + > +( > +x = f@p1(...); How do you think about to express any more constraints for this function call? > +... when != e = (T)x Will it be safer to add another exclusion for the initial assignment target? > + when != if (x) { ... of_node_put(x) ... } I find the specification of this extra condition check questionable. Should Masahiro Yamada be explicitly notified also for this attempt to integrate another SmPL script? Regards, Markus