Re: [PATCH 10/10, corrected diffstat] drivers/net: Move adereference below a NULL test

From: David Miller
Date: Tue Jul 21 2009 - 16:02:02 EST


From: Julia Lawall <julia@xxxxxxx>
Date: Sun, 19 Jul 2009 18:13:04 +0200 (CEST)

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

Applied.
--
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/