From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2992618AbcB0UOW (ORCPT ); Sat, 27 Feb 2016 15:14:22 -0500 Received: from smtp207.alice.it ([82.57.200.103]:32412 "EHLO smtp207.alice.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2992594AbcB0UOV (ORCPT ); Sat, 27 Feb 2016 15:14:21 -0500 Date: Sat, 27 Feb 2016 21:14:10 +0100 From: Antonio Ospite To: Jannik Becher Cc: crope@iki.fi, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Jannik Becher Subject: Re: [PATCH] Media: usb: hackrf: fixed a style issue Message-Id: <20160227211410.de7c8d21d1ab84c5870221cf@ao2.it> In-Reply-To: <1456602156-25011-1-git-send-email-Becher.Jannik@gmail.com> References: <1456602156-25011-1-git-send-email-Becher.Jannik@gmail.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; x86_64-pc-linux-gnu) X-Face: z*RaLf`X<@C75u6Ig9}{oW$H;1_\2t5)({*|jhM/Vb;]yA5\I~93>J<_`<4)A{':UrE Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 27 Feb 2016 20:42:36 +0100 Jannik Becher wrote: > Fixed a coding style issue. > You should be more specific: which style issue? See also my comment below. > Signed-off-by: Jannik Becher > --- > drivers/media/usb/hackrf/hackrf.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/media/usb/hackrf/hackrf.c b/drivers/media/usb/hackrf/hackrf.c > index 9e700ca..186ef2d 100644 > --- a/drivers/media/usb/hackrf/hackrf.c > +++ b/drivers/media/usb/hackrf/hackrf.c > @@ -249,6 +249,7 @@ static int hackrf_set_params(struct hackrf_dev *dev) > unsigned int uitmp, uitmp1, uitmp2; > const bool rx = test_bit(RX_ON, &dev->flags); > const bool tx = test_bit(TX_ON, &dev->flags); > + > static const struct { > u32 freq; > } bandwidth_lut[] = { If this has been found by scripts/checkpatch.pl as: WARNING: Missing a blank line after declarations #252: FILE: drivers/media/usb/hackrf/hackrf.c:252: + const bool tx = test_bit(TX_ON, &dev->flags); + static const struct { it is a false positive, as the code which follows the blank line is a declaration too. Ciao ciao, Antonio -- Antonio Ospite http://ao2.it A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing?