Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1673779ybe; Wed, 11 Sep 2019 19:59:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqylTTb4innOdDEAP+U/rf/wKlWf31X0B+0dwWeq5ZRYfwmb3KHN7QHjDTixR84NWx7i6lWp X-Received: by 2002:aa7:dc56:: with SMTP id g22mr40033073edu.212.1568257164692; Wed, 11 Sep 2019 19:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568257164; cv=none; d=google.com; s=arc-20160816; b=gYJiHtjyrf3avCrs24WIYoNV69vBQ7xHvTA5yOniEY4o0mMIIuhH1dfp5iZOry65TS 1LQD0rzBGbw9ZD8VYgHMj6jzJBL7z2m4fa1Yxbpao/JLpvhDb7j4+mpSNMqWRidlmAuh ZftqM2kaL32VROFMlYZ8txibBdBeafAKoX3T7US0P/1R8hXi/4UEKfer0N/B8LuXkuwu urwNtfnIXBf1mtoMJQWabAJDNgZkgsYqJDRXIW7kdMpf8fp4wqXHm06YAssaYtzWVaVp W21fqzzj1gzKnNr13Syz+2AoKjFiV5F37eFhmVpiHhpU3hf9nEpm+UKraMoXMx6nt44e Qqfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=pltGtJNS1wfCvPRGbX071aVjCkB4a7NUOihlKA0ukwo=; b=hdOqaAhzyKBl05uy9eFVcb+3fTg9HBDJFiECmzfIXSnMBrRmJjeBUrgwcjUENDQQbe raxtHXGB3JmWymOQY8q0XBsAAECNihE8UJxFGFp5ZKj9/Ql40518jlY5Gt5Tj2m4Qar6 PHq/NHri0YYsVnh/fbCZUj8s1SbvyE9Y3t8+mAzfIfzasNTHLPBPBRZ42U2emOkCrl5L jcDjiC+kIGK3Be4aYiTy4aKtD2v3H3VEi+adewfB+PWFBVqKyDmcKrmVcjXLD3YZ5XeW /E9EXet3HPbFGYGKMG81rZA6Aujc6hylSumZbojXT3u0fW7bb7Z0MqMGUq7DER2adt+z 5k4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gr19si6056669ejb.371.2019.09.11.19.59.01; Wed, 11 Sep 2019 19:59:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729715AbfILCzn (ORCPT + 99 others); Wed, 11 Sep 2019 22:55:43 -0400 Received: from smtprelay0206.hostedemail.com ([216.40.44.206]:42439 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728638AbfILCzW (ORCPT ); Wed, 11 Sep 2019 22:55:22 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id 107971E06F; Thu, 12 Sep 2019 02:55:21 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::,RULES_HIT:41:355:371:372:379:541:800:960:973:988:989:1260:1345:1359:1437:1534:1541:1711:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3866:3868:4321:4605:4823:5007:6119:6261:7903:10004:10848:11026:11658:11914:12043:12048:12296:12297:12438:12555:12895:12986:13069:13311:13357:14096:14181:14384:14394:14721:21080:21627:30012:30054,0,RBL:47.151.152.152:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:16,LUA_SUMMARY:none X-HE-Tag: jar29_85d6914c8b35d X-Filterd-Recvd-Size: 2108 Received: from joe-laptop.perches.com (unknown [47.151.152.152]) (Authenticated sender: joe@perches.com) by omf16.hostedemail.com (Postfix) with ESMTPA; Thu, 12 Sep 2019 02:55:19 +0000 (UTC) From: Joe Perches To: Dan Williams , Vishal Verma , Dave Jiang , Keith Busch , Ira Weiny Cc: Dan Carpenter , linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/13] nvdimm: Use typical kernel style indentation Date: Wed, 11 Sep 2019 19:54:38 -0700 Message-Id: X-Mailer: git-send-email 2.15.0 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make the nvdimm code more like the rest of the kernel. Avoid indentation of labels and spaces where tabs should be used. Signed-off-by: Joe Perches --- drivers/nvdimm/btt.c | 2 +- drivers/nvdimm/region_devs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/nvdimm/btt.c b/drivers/nvdimm/btt.c index 39851edc2cc5..0df4461fe607 100644 --- a/drivers/nvdimm/btt.c +++ b/drivers/nvdimm/btt.c @@ -1320,7 +1320,7 @@ static int btt_write_pg(struct btt *btt, struct bio_integrity_payload *bip, u32 cur_len; int e_flag; - retry: +retry: lane = nd_region_acquire_lane(btt->nd_region); ret = lba_to_arena(btt, sector, &premap, &arena); diff --git a/drivers/nvdimm/region_devs.c b/drivers/nvdimm/region_devs.c index 16dfdbdbf1c8..65df07481909 100644 --- a/drivers/nvdimm/region_devs.c +++ b/drivers/nvdimm/region_devs.c @@ -1044,7 +1044,7 @@ static struct nd_region *nd_region_create(struct nvdimm_bus *nvdimm_bus, if (!nd_region->lane) goto err_percpu; - for (i = 0; i < nr_cpu_ids; i++) { + for (i = 0; i < nr_cpu_ids; i++) { struct nd_percpu_lane *ndl; ndl = per_cpu_ptr(nd_region->lane, i); -- 2.15.0