Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753418AbaG3NmQ (ORCPT ); Wed, 30 Jul 2014 09:42:16 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:21191 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751472AbaG3NmM (ORCPT ); Wed, 30 Jul 2014 09:42:12 -0400 Date: Wed, 30 Jul 2014 16:41:53 +0300 From: Dan Carpenter To: Ian Abbott Cc: driverdev-devel@linuxdriverproject.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: Re: [PATCH 13/19 v2] staging: comedi: amplc_pci230: remove unnecessary braces Message-ID: <20140730134153.GJ4856@mwanda> References: <1406635107-27950-14-git-send-email-abbotti@mev.co.uk> <1406721227-8144-1-git-send-email-abbotti@mev.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1406721227-8144-1-git-send-email-abbotti@mev.co.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: acsinet22.oracle.com [141.146.126.238] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 30, 2014 at 12:53:47PM +0100, Ian Abbott wrote: > Signed-off-by: Ian Abbott > --- > v2: Be less aggressive in brace removal. Keep them for outer nested > 'if's. Keep them in outer control statements where the inner control > statement uses braces. Really every multi-line indent should have braces for readability. This isn't documented anywhere, but it's normal kernel style and Greg prefers it for staging as well but I can't find the URL on google where he mentioned that. regards, dan carpenter -- 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/