Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1623558

Re: [PATCH] drivers/staging/iio: braces {} are not necessary for single statement blocks

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] drivers/staging/iio: braces {} are not necessary for single statement blocks
Date 2017-04-14 10:20 +0200
Message-ID <tw4Cu-7aA-9@gated-at.bofh.it> (permalink)
References <tuzhn-4jy-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Apr 10, 2017 at 10:08:07AM +0530, Pushkar Jambhlekar wrote:
> Handling checkpatch.pl warning for if block. For single if statement block, braces are not neccessary. Making code consistent with linux kernel coding guidelines.

Pleasse wrap your changelog comments at 72 columns like git asked you to
do.

thanks,

greg k-h

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] drivers/staging/iio: braces {} are not necessary for  single statement blocks Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-04-14 10:20 +0200

csiph-web