Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1672845ybe; Wed, 11 Sep 2019 19:57:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqxczV4o/BOJbSSo5fsuizz9WepYTk7sFr/qxVZg1Ym+dS+B8ht/YIESsRXoVTeHH6BFktZl X-Received: by 2002:a17:906:2451:: with SMTP id a17mr23753071ejb.164.1568257076777; Wed, 11 Sep 2019 19:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568257076; cv=none; d=google.com; s=arc-20160816; b=A7/SosJFVZRPLkR8H4JXyXjJMc2x0r72Zb6faYSHnftRez5bhMfKZVPz0Ezy6N3XCB hbqt631SI9wqd9j2MOpmwGvJH6+IGLZziC4BrQCyaHN9tRe//IVe+594VcDgdiqoA8GC cAeP7Jkmy4/PoD8vuw0UWRDeE7UV9cc+e8jc937MT/t9OGM5DfBFBjiFxIKcIwxiOTj0 qoeFgZ0zDxY9BAeLAmTjQy70iUZGiEndalsN/NUUCxltjhb2LlRtdOvJFBAwkxQYM6KH mqBT26ThUD17dmKKDSA4RUFSw7SbngB2Ba2NSsO2fYGf6czJnUuZrJNwOgiWHb5r+W6y M8dw== 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=xKzR2eM8Lh6PG4cKgn1dPUvFUcvyerIjQsyipnCKvAc=; b=YKOBizCDUJsw5P91td2YG7qfzl/ei1Kzy2N+SV/+74KKPzPMU+6igiJAAPKBHkajFa mrgMDos7E8aQWdMq/Uc/ODVmMB4ugbENJpGJqjgjfS2vXAb1Vn+1+leHD47HK6brwtUO nmNAYXsEyZ1Tx7V/53SyqUogX7SlEb5bzVmGF5SjIz+YN+19EJpZAAEz/wOg/ryNQL3M AELpxusjIdTbvsnPOx+RWt+UuqNXTSyMQCwtvVsc6u3YSyZ5+xWwtmNMFcSKlj77AmmR Nlgxr8xec6CA0QkzVDwIkm4+eQvm5T+IT97/ALqqehWtAYTl0SWpxtkpdvYtVxzmNl3r v2LA== 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 z31si14933353edc.107.2019.09.11.19.57.33; Wed, 11 Sep 2019 19:57:56 -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 S1729571AbfILCz1 (ORCPT + 99 others); Wed, 11 Sep 2019 22:55:27 -0400 Received: from smtprelay0085.hostedemail.com ([216.40.44.85]:51632 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729489AbfILCz0 (ORCPT ); Wed, 11 Sep 2019 22:55:26 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id E907C100E86C4; Thu, 12 Sep 2019 02:55:24 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::,RULES_HIT:41:355:379:541:800:960:973:988:989:1260:1345:1359:1437:1534:1541:1711:1730:1747:1777:1792:2393:2559:2562:2919:3138:3139:3140:3141:3142:3352:3865:3871:4321:4605:5007:6119:6261:10004:10848:11026:11473:11658:11914:12043:12048:12296:12297:12438:12555:12895:13069:13311:13357:14096:14181:14384:14394:14721:21080:21627:30012:30029: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:2,LUA_SUMMARY:none X-HE-Tag: girls87_86643b0d66e00 X-Filterd-Recvd-Size: 2319 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:23 +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 10/13] nvdimm: namespace_devs: Move assignment operators Date: Wed, 11 Sep 2019 19:54:40 -0700 Message-Id: <95bbd3ef7a6b06384d1ec6f5bfd691a728b31831.1568256708.git.joe@perches.com> 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 Kernel code uses assignment operators where the statement is split on multiple lines on the first line. Move 2 unusual uses. Signed-off-by: Joe Perches --- drivers/nvdimm/namespace_devs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/nvdimm/namespace_devs.c b/drivers/nvdimm/namespace_devs.c index 70e1d752c12c..8c75ef84bad7 100644 --- a/drivers/nvdimm/namespace_devs.c +++ b/drivers/nvdimm/namespace_devs.c @@ -2023,8 +2023,8 @@ static struct device *create_namespace_pmem(struct nd_region *nd_region, nspm->lbasize = __le64_to_cpu(label0->lbasize); ndd = to_ndd(nd_mapping); if (namespace_label_has(ndd, abstraction_guid)) - nspm->nsio.common.claim_class - = to_nvdimm_cclass(&label0->abstraction_guid); + nspm->nsio.common.claim_class = + to_nvdimm_cclass(&label0->abstraction_guid); } if (!nspm->alt_name || !nspm->uuid) { @@ -2267,8 +2267,8 @@ static struct device *create_namespace_blk(struct nd_region *nd_region, nsblk->uuid = kmemdup(nd_label->uuid, NSLABEL_UUID_LEN, GFP_KERNEL); if (namespace_label_has(ndd, abstraction_guid)) - nsblk->common.claim_class - = to_nvdimm_cclass(&nd_label->abstraction_guid); + nsblk->common.claim_class = + to_nvdimm_cclass(&nd_label->abstraction_guid); if (!nsblk->uuid) goto blk_err; memcpy(name, nd_label->name, NSLABEL_NAME_LEN); -- 2.15.0