Re: [PATCH 2/2] drivers/staging/msm/lcdc.c: Convert IS_ERR result to PTR_ERR

From: David Brown
Date: Thu Jan 27 2011 - 14:01:00 EST


On Thu, Jan 27 2011, Julia Lawall wrote:

> This code elsewhere returns a negative constant to an indicate an error,
> while IS_ERR returns the result of a >= operation.
>
> The semantic patch that fixes this problem is as follows:
> (http://coccinelle.lip6.fr/)
>
> Signed-off-by: Julia Lawall <julia@xxxxxxx>

Acked-by: David Brown <davidb@xxxxxxxxxxxxxx>

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
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/