Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp814428pxa; Thu, 27 Aug 2020 17:02:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzi4y/aOI/rx/0rvxgTNuP0CWFwjD6VPYQ5VcmhiKBeEimc4bh9oIH/cDO7TKcALE0pgZHA X-Received: by 2002:a17:906:3a41:: with SMTP id a1mr23247484ejf.260.1598572970557; Thu, 27 Aug 2020 17:02:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598572970; cv=none; d=google.com; s=arc-20160816; b=g4NfqE5YhikeLkFuY9f7xTF/oQ5z1yGXwUBJH3uasinB0U2Kx5oJr4QH5UZ8lOFH30 cz5P4pKZQCD2PKHOVWXVFBqCQKTI8bl3RBpOZNVjOOD7YiKo62l2B52NMykzhMtCBoSt haaaBCF7j3wrILW954Yg6nwDp7SAC+h1PuDENQu1qTNHjvj8dqN6sGhxZUMEadHUOrwk 6f4S2MeQhMUCHzAQDrAY2VHKAI3TlcctkUe18JX/ogmsxyYWgs5V914/FsEZ0SJoLfgX /uIdzj9EneV/j+mg7+6wEBOLcvVBpdGptaX9MudZh3+lE5e1Xeo6w6nFqg649DZ5rcuH YUpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=SYPqxlOIfmL0bjm7uf0DAYv4xN92Tah2FGucclFKPWU=; b=UaDA7QK/sSYB6s3SiI7Wh8iPGfYmw2Vzb+AJIFXaS0A7G0tSPILbvOar2c1xOC06fF zBszA4TMTCpYkTcR+/lE8C3I2CfmI+eVqi1lAYsTqRAadxLRu3Dc2mwWrHybGhESZva2 /WSKkQUvQz7BTpw4cB99EIodnwGmYjGm4PTtbKn5YcMyo3xbFN0A9L512/m29Q4GJ8I9 f9EKy75/EMj3vaGMbd/IWW7SBXGxFNebijEbaHwECznutvOfzSTTweOPBWD/95iYenRv qFnTXu9m+rlSYnt2wPvx+imfPxcIwUqFuehNgQsdcXD1A+idio/E1xeiw9bHWIsfDJik mnOw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y25si2356274ejc.510.2020.08.27.17.02.26; Thu, 27 Aug 2020 17:02:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728113AbgH1ABz (ORCPT + 99 others); Thu, 27 Aug 2020 20:01:55 -0400 Received: from smtprelay0007.hostedemail.com ([216.40.44.7]:59818 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726147AbgH1ABz (ORCPT ); Thu, 27 Aug 2020 20:01:55 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id E414D1800C860; Fri, 28 Aug 2020 00:01:53 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1538:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3867:3868:3872:3874:4321:5007:6742:10004:10400:10848:11232:11658:11914:12297:12740:12760:12895:13069:13311:13357:13439:14659:21080:21627:21990:30054:30070:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: badge21_0410db127071 X-Filterd-Recvd-Size: 1992 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf14.hostedemail.com (Postfix) with ESMTPA; Fri, 28 Aug 2020 00:01:51 +0000 (UTC) Message-ID: <5682daf68b94be288c05f859942ce06deec2b022.camel@perches.com> Subject: Re: [PATCH 17/19] z2ram: reindent From: Joe Perches To: Finn Thain Cc: John Paul Adrian Glaubitz , Christoph Hellwig , Jens Axboe , Greg Kroah-Hartman , "Rafael J. Wysocki" , Denis Efremov , "David S. Miller" , Song Liu , Al Viro , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-raid@vger.kernel.org, linux-scsi@vger.kernel.org, linux-m68k@lists.linux-m68k.org Date: Thu, 27 Aug 2020 17:01:50 -0700 In-Reply-To: References: <8570915f668159f93ba2eb845a3bbc05f8ee3a99.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.4-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-08-28 at 09:21 +1000, Finn Thain wrote: > > @@ -109,34 +111,28 @@ static void get_z2ram(void) > ... > > } > > - > > - return; > > } > > > > It would be good to have a semantic patch for that change. > > > > > - if (z2ram_map[z2ram_size] == 0) { > > + if (z2ram_map[z2ram_size] == 0) > > break; > > - } > > > > And that one. > > Reason being, a semantic patch only has to be debugged once, whereas > manual churn has to be done correctly over and over again. checkpatch already does this.