[1/3] PCI: j721e: Propagate dev_err_probe return value

Markus Elfring Markus.Elfring at web.de
Sat Oct 18 04:40:45 PDT 2025


>> How do you think about to achieve such a source code variant also with the help of
>> the semantic patch language (Coccinelle software)?
> I do not have any idea about this.

Can another source code search pattern (like the following) trigger further
development considerations?

@display@
expression dev, e, x;
@@
 if (e)
 {
 ... when != e = x
*   dev_err_probe(dev, e, ...);
 ...
 }


Regards,
Markus



More information about the linux-arm-kernel mailing list