Re: [PATCH] cm4000_cs: fix return value check

From: Dominik Brodowski
Date: Wed Oct 25 2006 - 23:09:15 EST


Hi,

On Tue, Oct 17, 2006 at 03:25:59PM +0900, Akinobu Mita wrote:
> The return value of class_create() need to be checked with IS_ERR().
> And register_chrdev() returns errno on failure.
> This patch includes these fixes for cm4000_cs and cm4040_cs.
>
> Cc: Harald Welte <laforge@xxxxxxxxxxxx>
> Signed-off-by: Akinbou Mita <akinobu.mita@xxxxxxxxx>

Temporarily applied to pcmica-2.6.git, thanks. Harald, do you ACK?

Thanks,
Dominik
-
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/