From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Subject: Re: [PATCH 16/16] drivers/net/qlcnic: Use available error codes Date: Mon, 16 Aug 2010 20:35:40 +0200 Message-ID: <20100816183540.GE645@bicker> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Amit Kumar Salecha , Anirban Chakraborty , linux-driver@qlogic.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org To: Julia Lawall Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Mon, Aug 16, 2010 at 06:29:13PM +0200, Julia Lawall wrote: > From: Julia Lawall > > The error code is stored in the variable err, but it is the variable ret > that is returned instead. So store the error code in ret. Err is then > useless. Could you redo this for the latest git? (Sorry, I recently made the problem slightly worse by adding another "err = -ENOMEM;")... regards, dan carpenter