Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 21 Jan 2003 12:25:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 21 Jan 2003 12:25:43 -0500 Received: from waldorf.cs.uni-dortmund.de ([129.217.4.42]:3808 "EHLO waldorf.cs.uni-dortmund.de") by vger.kernel.org with ESMTP id ; Tue, 21 Jan 2003 12:25:42 -0500 Message-Id: <200301211701.h0LH1KIQ002083@eeyore.valparaiso.cl> To: Bill Davidsen cc: "Adam J. Richter" , Linux Kernel Mailing List , brand@eeyore.valparaiso.cl Subject: Re: Patch?: linux-2.5.59/sound/soundcore.c referenced non-existant errno variable In-Reply-To: Your message of "Tue, 21 Jan 2003 11:48:56 EST." Date: Tue, 21 Jan 2003 18:01:20 +0100 From: Horst von Brand Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Bill Davidsen said: [...] > I have not looked at the code this generates, it's a comment on human > readability rather than an actual implementation, and I'm sure someone > will argue that the first failure should just be a return if there's > nothing else which needs to be done. On the other hand the return inline > would be more bytes, so someone else can argue against. Older gccs used to generate horrible code for several "return foo;" in the function, dunno how it is today. Besides, today there might be nothing else to do, but that can change. In that case you'd better have all exits together. -- Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513 - 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/