From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.netapp.com ([216.240.18.37]:62662 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760249Ab0LNVen convert rfc822-to-8bit (ORCPT ); Tue, 14 Dec 2010 16:34:43 -0500 Subject: Re: [PATCH] net/sunrpc/auth_gss/gss_krb5_crypto.c: Use normal negative error value return From: Trond Myklebust To: "J. Bruce Fields" Cc: Joe Perches , Neil Brown , "David S. Miller" , linux-nfs@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20101214211922.GJ24828@fieldses.org> References: <1289786891.16461.102.camel@Joe-Laptop> <20101214211922.GJ24828@fieldses.org> Content-Type: text/plain; charset="UTF-8" Date: Tue, 14 Dec 2010 16:34:25 -0500 Message-ID: <1292362465.14641.10.camel@heimdal.trondhjem.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Tue, 2010-12-14 at 16:19 -0500, J. Bruce Fields wrote: > On Sun, Nov 14, 2010 at 06:08:11PM -0800, Joe Perches wrote: > > And remove unnecessary double semicolon too. > > > > No effect to code, as test is != 0. > > Hm, the error return's actually ignored. But OK. Applying to my tree > for 2.6.38 assuming nobody else has picked it up. There are also gems such as u32 ret = -EINVAL; Cheers Trond -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com