Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422870AbWJZDIf (ORCPT ); Wed, 25 Oct 2006 23:08:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422885AbWJZDIf (ORCPT ); Wed, 25 Oct 2006 23:08:35 -0400 Received: from isilmar.linta.de ([213.239.214.66]:39060 "EHLO linta.de") by vger.kernel.org with ESMTP id S1422870AbWJZDIe (ORCPT ); Wed, 25 Oct 2006 23:08:34 -0400 Date: Wed, 25 Oct 2006 22:40:04 -0400 From: Dominik Brodowski To: Akinobu Mita , linux-kernel@vger.kernel.org, Harald Welte Subject: Re: [PATCH] cm4000_cs: fix return value check Message-ID: <20061026024004.GF32048@dominikbrodowski.de> Mail-Followup-To: Dominik Brodowski , Akinobu Mita , linux-kernel@vger.kernel.org, Harald Welte References: <20061017062559.GB13100@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061017062559.GB13100@localhost> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 681 Lines: 19 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 > Signed-off-by: Akinbou Mita 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/