lkml.org 
[lkml]   [2006]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] cm4000_cs: fix return value check
On Wed, Oct 25, 2006 at 10:40:04PM -0400, Dominik Brodowski wrote:

> 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@gnumonks.org>
> > Signed-off-by: Akinbou Mita <akinobu.mita@gmail.com>
>
> Temporarily applied to pcmica-2.6.git, thanks. Harald, do you ACK?

yes, sorry. I've been too busy and the mail slipped through...

The patch is obviously fine. Thanks!

Signed-off-by: Harald Welte <laforge@gnumonks.org>

--
- Harald Welte <laforge@gnumonks.org> http://gnumonks.org/
============================================================================
We all know Linux is great...it does infinite loops in 5 seconds. -- Linus
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2006-10-26 12:29    [W:0.032 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site