From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>,
kernel-janitors@vger.kernel.org, linux-s390@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/4] s390/cio: add NULL test
Date: Mon, 21 Dec 2015 09:33:16 +0000 [thread overview]
Message-ID: <20151221093316.GA4058@osiris> (raw)
In-Reply-To: <1450610153-7746-4-git-send-email-Julia.Lawall@lip6.fr>
On Sun, Dec 20, 2015 at 12:15:52PM +0100, Julia Lawall wrote:
> Add NULL test on call to kzalloc.
>
> The semantic match that finds this problem is as follows:
> (http://coccinelle.lip6.fr/)
>
> // <smpl>
> @@
> expression x;
> identifier fld;
> @@
>
> * x = kzalloc(...);
> ... when != x = NULL
> x->fld
> // </smpl>
>
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Aplied, thanks.
WARNING: multiple messages have this Message-ID (diff)
From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>,
kernel-janitors@vger.kernel.org, linux-s390@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/4] s390/cio: add NULL test
Date: Mon, 21 Dec 2015 10:33:16 +0100 [thread overview]
Message-ID: <20151221093316.GA4058@osiris> (raw)
In-Reply-To: <1450610153-7746-4-git-send-email-Julia.Lawall@lip6.fr>
On Sun, Dec 20, 2015 at 12:15:52PM +0100, Julia Lawall wrote:
> Add NULL test on call to kzalloc.
>
> The semantic match that finds this problem is as follows:
> (http://coccinelle.lip6.fr/)
>
> // <smpl>
> @@
> expression x;
> identifier fld;
> @@
>
> * x = kzalloc(...);
> ... when != x == NULL
> x->fld
> // </smpl>
>
> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Aplied, thanks.
next prev parent reply other threads:[~2015-12-21 9:33 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-20 11:15 [PATCH 0/4] add NULL test Julia Lawall
2015-12-20 11:15 ` Julia Lawall
2015-12-20 11:15 ` [PATCH 1/4] ASoC: imx-pcm-dma: " Julia Lawall
2015-12-20 11:15 ` Julia Lawall
2015-12-21 7:34 ` Nicolin Chen
2015-12-21 7:34 ` Nicolin Chen
2015-12-23 0:08 ` Applied "ASoC: imx-pcm-dma: add NULL test" to the asoc tree Mark Brown
2015-12-20 11:15 ` [PATCH 2/4] ASoC: omap-hdmi-audio: add NULL test Julia Lawall
2015-12-20 11:15 ` Julia Lawall
2015-12-21 9:35 ` Peter Ujfalusi
2015-12-21 9:35 ` Peter Ujfalusi
2015-12-21 9:35 ` Peter Ujfalusi
2015-12-23 0:08 ` Applied "ASoC: omap-hdmi-audio: add NULL test" to the asoc tree Mark Brown
2015-12-20 11:15 ` [PATCH 3/4] s390/cio: add NULL test Julia Lawall
2015-12-20 11:15 ` Julia Lawall
2015-12-21 9:33 ` Heiko Carstens [this message]
2015-12-21 9:33 ` Heiko Carstens
2015-12-20 11:15 ` [PATCH 4/4] ASoC: Intel: " Julia Lawall
2015-12-20 11:15 ` Julia Lawall
2015-12-23 0:02 ` Mark Brown
2015-12-23 6:58 ` Julia Lawall
2015-12-23 6:58 ` Julia Lawall
2015-12-23 6:58 ` Julia Lawall
2015-12-23 0:08 ` Applied "ASoC: Intel: add NULL test" to the asoc tree Mark Brown
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=20151221093316.GA4058@osiris \
--to=heiko.carstens@de.ibm.com \
--cc=Julia.Lawall@lip6.fr \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=schwidefsky@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.