From: santosh.shilimkar@oracle•com (santosh.shilimkar at oracle.com)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 02/11] soc: ti: knav_qmss_queue: fix error return code
Date: Sat, 22 Aug 2015 18:12:42 -0700 [thread overview]
Message-ID: <55D91E0A.20602@oracle.com> (raw)
In-Reply-To: <1440288682-12732-3-git-send-email-Julia.Lawall@lip6.fr>
On 8/22/15 5:11 PM, Julia Lawall wrote:
> Return a negative error code on failure.
>
> A simplified version of the semantic match that finds this problem is as
> follows: (http://coccinelle.lip6.fr/)
>
> // <smpl>
> @@
> identifier ret; expression e1,e2;
> @@
> (
> if (\(ret < 0\|ret != 0\))
> { ... return ret; }
> |
> ret = 0
> )
> ... when != ret = e1
> when != &ret
> *if(...)
> {
> ... when != ret = e2
> when forall
> return ret;
> }
> // </smpl>
>
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6•fr>
>
Acked-by: Santosh Shilimkar <ssantosh@kernel•org>
next prev parent reply other threads:[~2015-08-23 1:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-23 0:11 [PATCH 00/11] fix error return code Julia Lawall
2015-08-23 0:11 ` [PATCH 02/11] soc: ti: knav_qmss_queue: " Julia Lawall
2015-08-23 1:12 ` santosh.shilimkar at oracle.com [this message]
2015-08-23 0:11 ` [PATCH 08/11] drm/exynos: mic: " Julia Lawall
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55D91E0A.20602@oracle.com \
--to=santosh.shilimkar@oracle$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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