Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757766AbXHXPY6 (ORCPT ); Fri, 24 Aug 2007 11:24:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757502AbXHXPWf (ORCPT ); Fri, 24 Aug 2007 11:22:35 -0400 Received: from saraswathi.solana.com ([198.99.130.12]:59584 "EHLO saraswathi.solana.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757497AbXHXPWd (ORCPT ); Fri, 24 Aug 2007 11:22:33 -0400 Date: Fri, 24 Aug 2007 11:21:27 -0400 From: Jeff Dike To: Blaisorblade Cc: user-mode-linux-devel@lists.sourceforge.net, Satyam Sharma , Jeff Dike , Andrew Morton , Joe Perches , LKML Subject: Re: [uml-devel] [PATCH 6/6] UML - Fix hostfs style Message-ID: <20070824152127.GA7190@c2.user-mode-linux.org> References: <20070817194342.GA8759@c2.user-mode-linux.org> <200708231655.00034.blaisorblade@yahoo.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200708231655.00034.blaisorblade@yahoo.it> User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 751 Lines: 24 On Thu, Aug 23, 2007 at 04:54:59PM +0200, Blaisorblade wrote: > > actually. Personally I'd prefer: > > > > else > > type = OS_TYPE_DIR; > > I strongly agree with this style; beyond style itself, one strong reason is > that joining statements hinder singlestepping through function code (it's > easy to run gdb on UML, and anyway kgdb exists). How does that help? gdb should stop as easily on a "else foo;" line as on else foo; right? Jeff -- Work email - jdike at linux dot intel dot com - 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/