From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752429AbdK1NIm (ORCPT ); Tue, 28 Nov 2017 08:08:42 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:47958 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751677AbdK1NIk (ORCPT ); Tue, 28 Nov 2017 08:08:40 -0500 Date: Tue, 28 Nov 2017 14:08:44 +0100 From: Greg KH To: Chase Metzger Cc: Marcus Wolf , Joseph Wright , Haneen Mohammed , Cihangir Akturk , Srishti Sharma , Colin Ian King , Al Viro , Derek Robson , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] staging: pi433: pi433_if.c: fix opening curly brace coding style issues Message-ID: <20171128130844.GA31525@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 15, 2017 at 04:35:48PM -0800, Chase Metzger wrote: > Put opening curly braces for if/else/else if statements and for/while loops > on the same line as the statements or loops to comply with the kernel > coding style. > > Signed-off-by: Chase Metzger > --- > drivers/staging/pi433/pi433_if.c | 110 ++++++++++++++------------------------- > 1 file changed, 38 insertions(+), 72 deletions(-) > > diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c > index ff86db1c6cbd..76d70345229a 100644 > --- a/drivers/staging/pi433/pi433_if.c > +++ b/drivers/staging/pi433/pi433_if.c > @@ -153,12 +153,10 @@ static irqreturn_t DIO1_irq_handler(int irq, void *dev_id) > { > struct pi433_device *device = dev_id; > > - if (device->irq_state[DIO1] == DIO_FifoNotEmpty_DIO1) > - { > + if (device->irq_state[DIO1] == DIO_FifoNotEmpty_DIO1) { Again, fix up the space issue here at the same time please. thanks, greg k-h