Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932724AbWLSJcW (ORCPT ); Tue, 19 Dec 2006 04:32:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932722AbWLSJcW (ORCPT ); Tue, 19 Dec 2006 04:32:22 -0500 Received: from mtagate5.de.ibm.com ([195.212.29.154]:8296 "EHLO mtagate5.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932715AbWLSJcV (ORCPT ); Tue, 19 Dec 2006 04:32:21 -0500 In-Reply-To: <20061219084248.GF4049@APFDCB5C> Subject: Re: [PATCH] ehca: fix kthread_create() error check To: Akinobu Mita Cc: Christoph Raisch , linux-kernel@vger.kernel.org X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: From: Hoang-Nam Nguyen Date: Tue, 19 Dec 2006 10:32:16 +0100 X-MIMETrack: Serialize by Router on D12ML065/12/M/IBM(Release 6.5.5HF882 | September 26, 2006) at 19/12/2006 10:32:18 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 436 Lines: 13 Hi, > The return value of kthread_create() should be checked by > IS_ERR(). create_comp_task() returns the return value from > kthread_create(). Good catch. Appreciate your help! Regards Nam - 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/