Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 22 Jul 2002 18:27:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 22 Jul 2002 18:27:02 -0400 Received: from saturn.cs.uml.edu ([129.63.8.2]:32530 "EHLO saturn.cs.uml.edu") by vger.kernel.org with ESMTP id ; Mon, 22 Jul 2002 18:27:01 -0400 From: "Albert D. Cahalan" Message-Id: <200207222229.g6MMTUZ282057@saturn.cs.uml.edu> Subject: Re: [PATCH] 2.5.27 smbiod To: martin@dalecki.de Date: Mon, 22 Jul 2002 18:29:30 -0400 (EDT) Cc: torvalds@transmeta.com (Linus Torvalds), linux-kernel@vger.kernel.org (Kernel Mailing List) In-Reply-To: <3D3BE2B5.9010807@evision.ag> from "Marcin Dalecki" at Jul 22, 2002 12:47:17 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 718 Lines: 28 Marcin Dalecki writes: > Fix label at block end warning - don't write "assembler code". ... > if (server->state != CONN_VALID) > - goto out; > + return; ... > - > -out: > } Assembler? No, that would be Pascal. Many would argue that a return out of the middle is as ugly as a goto. Maybe it doesn't matter, and maybe you did actually improve the code generation, but there's an obvious way to ditch the warning without changing so much. Note the semicolon: out:; } - 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/