From patchwork Thu Sep 12 02:54:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Perches X-Patchwork-Id: 11142045 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2A3BD14E5 for ; Thu, 12 Sep 2019 02:54:53 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F04E92075C for ; Thu, 12 Sep 2019 02:54:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F04E92075C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 62A47202C808F; Wed, 11 Sep 2019 19:54:58 -0700 (PDT) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=216.40.44.139; helo=smtprelay.hostedemail.com; envelope-from=joe@perches.com; receiver=linux-nvdimm@lists.01.org Received: from smtprelay.hostedemail.com (smtprelay0139.hostedemail.com [216.40.44.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B09F720215F74 for ; Wed, 11 Sep 2019 19:54:57 -0700 (PDT) Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 36473100E806B; Thu, 12 Sep 2019 02:54:50 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2, 0, 0, , d41d8cd98f00b204, joe@perches.com, :::::::::::::::::, RULES_HIT:41:69:355:379:541:968:973:988:989:1260:1345:1437:1534:1542:1711:1730:1747:1777:1792:2393:2559:2562:2894:3138:3139:3140:3141:3142:3353:3865:3867:3868:3870:4605:5007:6261:7974:10004:10848:11658:11914:12043:12291:12297:12679:12683:12895:14093:14096:14394:14721:14824:21080:21451:21627:21740:30054:30056:30070, 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:30, LUA_SUMMARY:none X-HE-Tag: band82_814fcf5b47631 X-Filterd-Recvd-Size: 2846 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:54:48 +0000 (UTC) From: Joe Perches To: Dan Williams , linux-nvdimm@lists.01.org Subject: [PATCH 00/13] nvdimm: Use more common kernel coding style Date: Wed, 11 Sep 2019 19:54:30 -0700 Message-Id: X-Mailer: git-send-email 2.15.0 X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, Dan Carpenter MIME-Version: 1.0 Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" Rather than have a local coding style, use the typical kernel style. Joe Perches (13): nvdimm: Use more typical whitespace nvdimm: Move logical continuations to previous line nvdimm: Use octal permissions nvdimm: Use a more common kernel spacing style nvdimm: Use "unsigned int" in preference to "unsigned" nvdimm: Add and remove blank lines nvdimm: Use typical kernel brace styles nvdimm: Use typical kernel style indentation nvdimm: btt.h: Neaten #defines to improve readability nvdimm: namespace_devs: Move assignment operators nvdimm: Use more common logic testing styles and bare ; positions nvdimm: namespace_devs: Change progess typo to progress nvdimm: Miscellaneous neatening drivers/nvdimm/badrange.c | 22 +- drivers/nvdimm/blk.c | 39 ++-- drivers/nvdimm/btt.c | 249 +++++++++++---------- drivers/nvdimm/btt.h | 56 ++--- drivers/nvdimm/btt_devs.c | 68 +++--- drivers/nvdimm/bus.c | 138 ++++++------ drivers/nvdimm/claim.c | 50 ++--- drivers/nvdimm/core.c | 42 ++-- drivers/nvdimm/dax_devs.c | 3 +- drivers/nvdimm/dimm.c | 3 +- drivers/nvdimm/dimm_devs.c | 107 ++++----- drivers/nvdimm/e820.c | 2 +- drivers/nvdimm/label.c | 213 +++++++++--------- drivers/nvdimm/label.h | 6 +- drivers/nvdimm/namespace_devs.c | 472 +++++++++++++++++++++------------------- drivers/nvdimm/nd-core.h | 31 +-- drivers/nvdimm/nd.h | 94 ++++---- drivers/nvdimm/nd_virtio.c | 20 +- drivers/nvdimm/of_pmem.c | 6 +- drivers/nvdimm/pfn_devs.c | 136 ++++++------ drivers/nvdimm/pmem.c | 57 ++--- drivers/nvdimm/pmem.h | 2 +- drivers/nvdimm/region.c | 20 +- drivers/nvdimm/region_devs.c | 160 +++++++------- drivers/nvdimm/security.c | 138 ++++++------ drivers/nvdimm/virtio_pmem.c | 10 +- 26 files changed, 1115 insertions(+), 1029 deletions(-)