archive mirror
 help / color / mirror / Atom feed
From: Markus Elfring <>
To:, JC Kuo <>,
	Jonathan Hunter <>,
	Kishon Vijay Abraham I <>,
	Thierry Reding <>
Cc: LKML <>,, Kangjie Lu <>,
	Navid Emamdoost <>,
	Stephen McCamant <>,
	Coccinelle <>
Subject: Re: phy: tegra: xusb: Complete exception handling in probe functions
Date: Tue, 29 Oct 2019 10:40:56 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

> 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”?

expression object;
identifier exit;
 ... when any
 object = kzalloc(...)
 if (...)
 goto exit;
 if (...)
*   goto unregister;

Will any search pattern variations become more interesting for corresponding
automatic software transformations?


  reply	other threads:[~2019-10-29  9:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-28 21:20 phy: tegra: xusb: Complete exception handling in five probe functions Markus Elfring
2019-10-29  9:40 ` Markus Elfring [this message]
2019-10-30 10:44   ` drivers/phy/tegra: Completion for exception handling in probe functions with SmPL? Markus Elfring
2019-10-30 20:50     ` Markus Elfring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).