Messages in this thread | | | Subject | Re: [PATCH] drivers/mtd/devices/spear_smi.c: failure test for null rather than negative integer | From | Artem Bityutskiy <> | Date | Fri, 17 Aug 2012 13:03:39 +0300 |
| |
On Wed, 2012-07-11 at 10:58 +0200, Julia Lawall wrote: > From: Julia Lawall <Julia.Lawall@lip6.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 [unhandled content-type:application/pgp-signature] | |