Re: [PATCH 2/3 v2] drivers/net/ethernet/ti: Move call to PTR_ERRafter reassignment

From: David Miller
Date: Thu Feb 02 2012 - 14:40:00 EST


From: Julia Lawall <Julia.Lawall@xxxxxxx>
Date: Thu, 2 Feb 2012 15:53:01 +0100

> From: Julia Lawall <Julia.Lawall@xxxxxxx>
>
> PTR_ERR should be called before its argument is cleared.
>
> The semantic match that finds this problem is as follows:
> (http://coccinelle.lip6.fr/)
...
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxx>
> Reported-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>

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