Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934016AbbHLGbS (ORCPT ); Wed, 12 Aug 2015 02:31:18 -0400 Received: from smtprelay0208.hostedemail.com ([216.40.44.208]:37934 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933436AbbHLGbQ (ORCPT ); Wed, 12 Aug 2015 02:31:16 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::,RULES_HIT:41:355:379:541:599:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2693:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3868:3870:3871:3874:4321:5007:6119:6261:7903:10004:10400:10848:11026:11232:11657:11658:11914:12043:12296:12517:12519:12663:12740:13069:13161:13229:13311:13357:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: front57_acb6acbfc92a X-Filterd-Recvd-Size: 2222 Message-ID: <1439361072.3608.14.camel@perches.com> Subject: Re: [PATCH 2/3] staging: lustre: Add blank line after variable declaration From: Joe Perches To: Sudip Mukherjee Cc: Swee Hua Law , andreas.dilger@intel.com, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, hamohammed.sa@gmail.com, linux-kernel@vger.kernel.org, HPDD-discuss@ml01.01.org, Julia.Lawall@lip6.fr, viro@zeniv.linux.org.uk Date: Tue, 11 Aug 2015 23:31:12 -0700 In-Reply-To: <20150812050027.GA23011@sudip-pc> References: <1439299951-2012-1-git-send-email-sweehua81@gmail.com> <1439299951-2012-3-git-send-email-sweehua81@gmail.com> <20150812050027.GA23011@sudip-pc> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1332 Lines: 40 On Wed, 2015-08-12 at 10:30 +0530, Sudip Mukherjee wrote: > On Tue, Aug 11, 2015 at 09:32:30PM +0800, Swee Hua Law wrote: > > Add blank line after variable declaration [] > > diff --git a/drivers/staging/lustre/lustre/llite/lloop.c b/drivers/staging/lustre/lustre/llite/lloop.c [] > > @@ -372,9 +372,11 @@ err: > > static inline void loop_handle_bio(struct lloop_device *lo, struct bio *bio) > > { > > int ret; > > + > > ret = do_bio_lustrebacked(lo, bio); > > while (bio) { > > struct bio *tmp = bio->bi_next; > > + > > bio->bi_next = NULL; > > bio_endio(bio); > This patch will not apply. I am not sure how your tree got > bio_endio(bio) but in the staging tree this line is bio_endio(bio, ret); And besides that, why do only this file/location? There are several hundred possible in lustre. Using: $ git ls-files -- "drivers/staging/lustre/*.[ch]" | \ xargs ./scripts/checkpatch.pl -f --fix-inplace --types=line_spacing would fix just about all of them. $ git diff --shortstat drivers/staging/lustre/ 172 files changed, 267 insertions(+), 316 deletions(-) -- 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/