[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3e3f40db-2422-c64d-3825-35f8c2471eb7@web.de>
Date: Tue, 29 Oct 2019 10:40:56 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: linux-tegra@...r.kernel.org, JC Kuo <jckuo@...dia.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Kishon Vijay Abraham I <kishon@...com>,
Thierry Reding <treding@...dia.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org, Kangjie Lu <kjlu@....edu>,
Navid Emamdoost <emamd001@....edu>,
Stephen McCamant <smccaman@....edu>,
Coccinelle <cocci@...teme.lip6.fr>
Subject: Re: phy: tegra: xusb: Complete exception handling in probe functions
> 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
Powered by blists - more mailing lists