Re: [PATCH 5/10] drivers/pci: Move a dereference below a NULL test

From: Jesse Barnes
Date: Thu Sep 17 2009 - 13:12:33 EST


On Sun, 19 Jul 2009 17:26:58 +0200 (CEST)
Julia Lawall <julia@xxxxxxx> wrote:

> From: Julia Lawall <julia@xxxxxxx>
>
> If the NULL test is necessary, then the dereference should be moved
> below the NULL test.
>
> The semantic patch that finds this problem is as follows:
> (http://www.emn.fr/x-info/coccinelle/)

Sorry I missed this one. Looks like it's been fixed another way
though...

--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/