> I have got the impression then that the exception handling is incomplete so
> far
> at these source code places.
How do you think about to try the following small script for the semantic patch
language out on the directory “drivers/phy/tegra”?
@display@
expression object;
identifier exit;
@@
... when any
object = kzalloc(...)
...
if (...)
{
*kfree(object);
goto exit;
}
...
if (...)
* goto unregister;
Will any search pattern variations become more interesting for corresponding
automatic software transformations?
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci