Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp119215rwr; Wed, 19 Apr 2023 04:23:54 -0700 (PDT) X-Google-Smtp-Source: AKy350aYbTG06kpVMrPI8zMmZvDsznD3aKBlUzp3pnGqj1JHrow/rvvBMnGdYpky+tKl8Ug2XQrC X-Received: by 2002:a05:6a00:2ea9:b0:63d:3a99:f9f0 with SMTP id fd41-20020a056a002ea900b0063d3a99f9f0mr2226765pfb.3.1681903433965; Wed, 19 Apr 2023 04:23:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681903433; cv=none; d=google.com; s=arc-20160816; b=CrWAtw5BzGJ1c3VwUtAchLlgzCcHbuws+SON3Yf6q5gfGZaHKZhObNbwEQujmqjKIy 5EYeSeI0QaDHyDbpbqQsmNIizfZn6Rux96QMEempWi7cIOefbpJnRuQBXloWEkfCPXlN TcIRkrJe6NNzIwuKIC8+zfZVm/ct7Tvd3toMBcOjIW/SG70YjEsNLy8K8pcZdhSi/e65 0LmIuUqF39x4lPS1Sn5x20Dt6V1noIILJY1uzWH2EVXYIWN5fbrZ6ayBS7EysHVT8kDx f8iOKkxreG4TLtX4s9FJ+vW/fUNjlNIcHqLtbD9Sk/FXfXdI/EeBxmcznYKLXFqXNSTf C4rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=F7+u9xQhLDQrqjy4o4RJRJ8DCzaXxJZlsawnZVjNt3s=; b=b1ZpYjBIWl/NxCOz4cpS6m/K5YqKlDeznDBbYRQQeyPNk3if1eesIm445MZQQEKMv/ /4UtD/WmWEqj+RahLc4W+sol9ByVXBcDHk/lsEBvGS3B0u8yhKvZFtkGSYdLRvd98DUm d02MP9858fc/68RPkFhfLeMEKvALstm5OxzB4AXSYes1ZoP1+DrZXNxyaYOEsz7hZZ4F jfzMBaPptkeIFs40Ubni8hRpA48egMiazXFa18QshWjS4zABGHcZzb6tZxHx2y9wdZSG La9WTqAzb7YPLUcq979RPiDFIX0ZtBhvXPYIB5cJAJyRtgd9TABHMzRuR/NyKhskz2qw m3Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=g9tElXFh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f63-20020a623842000000b00624eb57b45dsi16318041pfa.74.2023.04.19.04.23.42; Wed, 19 Apr 2023 04:23:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=g9tElXFh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232553AbjDSLRS (ORCPT + 99 others); Wed, 19 Apr 2023 07:17:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231391AbjDSLRM (ORCPT ); Wed, 19 Apr 2023 07:17:12 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96132146E5; Wed, 19 Apr 2023 04:16:39 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-63d4595d60fso6135296b3a.0; Wed, 19 Apr 2023 04:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681902939; x=1684494939; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=F7+u9xQhLDQrqjy4o4RJRJ8DCzaXxJZlsawnZVjNt3s=; b=g9tElXFhLI2LM3U0SMnA9tTDN79NflMAFeMM9JwZPuAOPASC90wunJ5LWNPooTMYiS vF8A7X2qZOHB20OaZ/1ijX+qPlMQ6IT2p1hywRhTTfbAlxDPuEnv00wTz/egUeIlhBjG xNhRby8s6DEaPxyd8Gr8tbAf86GO6e4CASaVDK22oSY2LYWtpczKVLqFYYkQ7N+63xWw TJO6BMTg2ToYvs8a5YCrzcXKGVZ/bTr2QXjx6L0yHXkCWo3d5grS7KCHBrfmu3hSevM6 NDf53OeVEnZyKw0plNIl/u9jk4gMZL/YFQXxE+Aja7Kh4+PeeyW6DoiSGeUt/kRHRg6S mifw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681902939; x=1684494939; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F7+u9xQhLDQrqjy4o4RJRJ8DCzaXxJZlsawnZVjNt3s=; b=NFd0v6UPfbZUdgOvioEFSyR/hTE3z9j4Pjr6zyvmqBCixqLRvNShAYoQWdrdHi8Toh p25BtXZQiz6XyIeg7QxjejVG6tvl4MJU/zRhxuL3RmK63iz0FsS8i5MF3PbQ57V/H2KG 4IDgMm430DZhi5DrHlnn+qNq1TR0L89Yd1V8n9eTtzTFs1REQ7mVnlsFlg4BNH/AvTNg d0psIWLSmI1HJxjhh+wyxZC0kUt9rz3MhquFbfluLfXUQ5yEBooz0NjlWssx7j0tSa+W LsIBrAinJvJM4CCH2B2NvGt+oiQctkKQGn/p+iJWke87sjWEJUmygIcGbXwDpmXsBamF 8IIA== X-Gm-Message-State: AAQBX9d9oi4t5dPO7PmFPRG3/uC3RWFFZgua01FD5tjjQQoFnrzr64DB eTH8Rm3uodSladcRn+EO65NSBgJjTFs= X-Received: by 2002:a17:902:c40f:b0:1a6:6edc:c884 with SMTP id k15-20020a170902c40f00b001a66edcc884mr2856114plk.16.1681902938762; Wed, 19 Apr 2023 04:15:38 -0700 (PDT) Received: from cxl-test.. ([103.181.222.211]) by smtp.gmail.com with ESMTPSA id o4-20020a170902bcc400b001a6566045ccsm11194914pls.192.2023.04.19.04.15.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Apr 2023 04:15:38 -0700 (PDT) From: Raghu H To: linux-cxl@vger.kernel.org, Alison Schofield , raghuhack78@gmail.com, Vishal Verma , Ira Weiny , Ben Widawsky , Dan Williams Cc: linux-kernel@vger.kernel.org Subject: [STYLE v1 2/3] cxl/core/port: Use tabs to fix styling errors Date: Wed, 19 Apr 2023 11:14:42 +0000 Message-Id: <20230419111443.231151-3-raghuhack78@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230419111443.231151-1-raghuhack78@gmail.com> References: <20230419111443.231151-1-raghuhack78@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Styling errors due to linux of unwanted spaces in the definition, modified the definition to use tab to fix the styling issue. Signed-off-by: Raghu H --- drivers/cxl/core/port.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/cxl/core/port.c b/drivers/cxl/core/port.c index 8ee6b6e2e2a4..7c3aaed180ca 100644 --- a/drivers/cxl/core/port.c +++ b/drivers/cxl/core/port.c @@ -95,15 +95,15 @@ static ssize_t size_show(struct device *dev, struct device_attribute *attr, } static DEVICE_ATTR_RO(size); -#define CXL_DECODER_FLAG_ATTR(name, flag) \ -static ssize_t name##_show(struct device *dev, \ - struct device_attribute *attr, char *buf) \ -{ \ - struct cxl_decoder *cxld = to_cxl_decoder(dev); \ - \ - return sysfs_emit(buf, "%s\n", \ - (cxld->flags & (flag)) ? "1" : "0"); \ -} \ +#define CXL_DECODER_FLAG_ATTR(name, flag) \ +static ssize_t name##_show(struct device *dev, \ + struct device_attribute *attr, char *buf) \ +{ \ + struct cxl_decoder *cxld = to_cxl_decoder(dev); \ + \ + return sysfs_emit(buf, "%s\n", \ + (cxld->flags & (flag)) ? "1" : "0"); \ +} \ static DEVICE_ATTR_RO(name) CXL_DECODER_FLAG_ATTR(cap_pmem, CXL_DECODER_F_PMEM); -- 2.39.2