[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1345197819.27859.38.camel@sauron.fi.intel.com>
Date: Fri, 17 Aug 2012 13:03:39 +0300
From: Artem Bityutskiy <dedekind1@...il.com>
To: Julia Lawall <Julia.Lawall@...6.fr>
Cc: David Woodhouse <dwmw2@...radead.org>, Stefan Roese <sr@...x.de>,
kernel-janitors@...r.kernel.org, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers/mtd/devices/spear_smi.c: failure test for null
rather than negative integer
On Wed, 2012-07-11 at 10:58 +0200, Julia Lawall wrote:
> From: Julia Lawall <Julia.Lawall@...6.fr>
>
> dev_get_platdata returns a pointer, so the failure value would be NULL
> rather than a negative integer.
>
> The semantic match that finds this problem is: (http://coccinelle.lip6.fr/)
Pushed to l2-mtd.git, thanks!
--
Best Regards,
Artem Bityutskiy
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists