Received: by 2002:ab2:1c04:0:b0:1f7:53ba:1ebe with SMTP id f4csp41829lqg; Fri, 26 Apr 2024 08:16:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU02wFPqkbnlJrahslT/l8kdiGMdC5CvT/M6s79/LVxOMaT0vkGyKMo5boNa+pWiEDUZ6Dn5mq8qM94Y3SKPwzG3GWN2g+EM2xBZl0QQg== X-Google-Smtp-Source: AGHT+IGwHOLSAzMjyonAr1MHjAKqLNKg6WoX/78WVdztvxu8bSJxuUuJ+L2Xe4AmC5gdXPA+UKrX X-Received: by 2002:a50:d5db:0:b0:56d:ee61:6874 with SMTP id g27-20020a50d5db000000b0056dee616874mr2234880edj.20.1714144588299; Fri, 26 Apr 2024 08:16:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714144588; cv=pass; d=google.com; s=arc-20160816; b=jZv3mWypiORpVKTUaUeFZgwZRNyi5BvwfnjsXwZ4T6d18NTQHBHOQbwyaV0RR1ohDo wVUUryTRf2tYZlbzSVmw0dY/vZWx3iXNA7hReBEnxr/N7W/FQQgtH+dwwHIyRvUuZZ7m Kxfqgmz8jL9k6o3DelSPJAhzqhO1GyrlXdcbffu/ptNNly5fmcavu4oWb5qiF4B5256m ddupg+HKVUcg0i2rhh+A2O35FydVVF5oBz6suwqwjwXAVqlp0pwuu7ss5+AESEKydRXI EGTetHUMpP8720XOcheEL0AL/MI/kPhVTQBtdpIxshZWdU9ZD0jyEyJJz7pfB/FQJcIw vrZw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=qYZFar1jisHDyXbyqZXvsTvpauRhaaAuUYHw4ffVSR0=; fh=Vo4MxA0u7CmSKYL/GjcyKHwusyvU+nKR43bqJem+vcY=; b=K6gd0XkVzYDVTUmdoLfkTdGaew8WmYT02qtVVqp9nhBpzHj94XszISqDMpW6VnzeDo TSL4H/Hgy/lPD8ILvheIbulTfSDLrbyBxv5ton6jk9VGAeRBZM6AhWVSZ/8PYgNi0cDI uXZ6q0iE4SgMbcKGvotcyin9bpJxGT/ZvbLb1p/QXfimwrlo+EZbR76EwKFQJwNgn0qB N90gr6VxsFyLBUfpwGxtuPdsAPa/Sv2lmT327nNNpFp0Byori9BmDRzICx9kgW3vF/ao fHL//vNB7lrynpsBtLRBhtmOy7QBh3bRZlFevhrGud4ZQtiJp7qMGEuI/9ZBBcfwNFgG Ar7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-160248-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160248-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ba7-20020a0564021ac700b005700f70cc66si10846511edb.504.2024.04.26.08.16.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 08:16:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160248-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-160248-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160248-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0F1AE1F27D86 for ; Fri, 26 Apr 2024 15:16:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B25B815253A; Fri, 26 Apr 2024 15:10:48 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C63A8172BC1 for ; Fri, 26 Apr 2024 15:10:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714144248; cv=none; b=U/n/+6JSL2V6szYM3zTPHXgDutt73sG8oxgDFcsTHbLwhiq44dwkeN2cV+KHJ/JjG0otbpyo0yUlayaIm35Wg+9jcvOMF1TorVQZmaNUc49lvSS5nAN829O2jG4rukdxBCB4UU07JPz7tvwSwmuUDsSxn8kMX+7racQMVeSBVl0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714144248; c=relaxed/simple; bh=hX+Pi0uWtticanANrvdQL8nKhRDqlgNKxiF6qD7pQA4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Jb2jbSRcv6UGx7UaHqK/Ddm0XNFAkB22Q8m333QxhTtDwbdhaI8iJ0WubYxCCdy6W6M52CZvNFKdtjOgr4tIG4reYNq5Yp6HJXmnnYXn2SthoCS6eknOenmhblosRsQlThHjj6SlrKYJbpDlGTSDHLW9UHIB3cLgQE+98lBjuyA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3CA841682; Fri, 26 Apr 2024 08:11:14 -0700 (PDT) Received: from e133380.cambridge.arm.com (e133380.arm.com [10.1.197.52]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5561D3F73F; Fri, 26 Apr 2024 08:10:43 -0700 (PDT) From: Dave Martin To: x86@kernel.org, linux-kernel@vger.kernel.org Cc: James Morse , Fenghua Yu , Reinette Chatre , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , Babu Moger , shameerali.kolothum.thodi@huawei.com, D Scott Phillips OS , carl@os.amperecomputing.com, lcherian@marvell.com, bobo.shaobowang@huawei.com, "Shaopeng Tan (Fujitsu)" , baolin.wang@linux.alibaba.com, Jamie Iles , Xin Hao , Peter Newman , dfustini@baylibre.com, amitsinght@marvell.com, David Hildenbrand , Rex Nie Subject: [PATCH v2 30/35] x86/resctrl: Squelch whitespace anomalies in resctrl core code Date: Fri, 26 Apr 2024 16:08:59 +0100 Message-Id: <20240426150904.8854-30-Dave.Martin@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240426150904.8854-1-Dave.Martin@arm.com> References: <20240426150537.8094-1-Dave.Martin@arm.com> <20240426150904.8854-1-Dave.Martin@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit checkpatch.pl complains about some whitespace anomalies in the resctrl core code. This doesn't matter, but since this code is about to be factored out and made generic, this is a good opportunity to fix these issues and so reduce future checkpatch fuzz. Fix them. No functional change. Signed-off-by: Dave Martin --- Changes in v2: * New patch. --- arch/x86/kernel/cpu/resctrl/rdtgroup.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/arch/x86/kernel/cpu/resctrl/rdtgroup.c b/arch/x86/kernel/cpu/resctrl/rdtgroup.c index e78fa33c87e2..5cb0d6f805bd 100644 --- a/arch/x86/kernel/cpu/resctrl/rdtgroup.c +++ b/arch/x86/kernel/cpu/resctrl/rdtgroup.c @@ -991,7 +991,7 @@ static int rdt_num_closids_show(struct kernfs_open_file *of, } static int rdt_default_ctrl_show(struct kernfs_open_file *of, - struct seq_file *seq, void *v) + struct seq_file *seq, void *v) { struct resctrl_schema *s = of->kn->parent->priv; struct rdt_resource *r = s->res; @@ -1001,7 +1001,7 @@ static int rdt_default_ctrl_show(struct kernfs_open_file *of, } static int rdt_min_cbm_bits_show(struct kernfs_open_file *of, - struct seq_file *seq, void *v) + struct seq_file *seq, void *v) { struct resctrl_schema *s = of->kn->parent->priv; struct rdt_resource *r = s->res; @@ -1117,7 +1117,7 @@ static int rdt_bit_usage_show(struct kernfs_open_file *of, } static int rdt_min_bw_show(struct kernfs_open_file *of, - struct seq_file *seq, void *v) + struct seq_file *seq, void *v) { struct resctrl_schema *s = of->kn->parent->priv; struct rdt_resource *r = s->res; @@ -1152,7 +1152,7 @@ static int rdt_mon_features_show(struct kernfs_open_file *of, } static int rdt_bw_gran_show(struct kernfs_open_file *of, - struct seq_file *seq, void *v) + struct seq_file *seq, void *v) { struct resctrl_schema *s = of->kn->parent->priv; struct rdt_resource *r = s->res; @@ -1162,7 +1162,7 @@ static int rdt_bw_gran_show(struct kernfs_open_file *of, } static int rdt_delay_linear_show(struct kernfs_open_file *of, - struct seq_file *seq, void *v) + struct seq_file *seq, void *v) { struct resctrl_schema *s = of->kn->parent->priv; struct rdt_resource *r = s->res; @@ -2017,7 +2017,6 @@ static struct rftype res_common_files[] = { .seq_show = rdtgroup_closid_show, .fflags = RFTYPE_CTRL_BASE | RFTYPE_DEBUG, }, - }; static int rdtgroup_add_files(struct kernfs_node *kn, unsigned long fflags) @@ -3420,7 +3419,6 @@ static int rdtgroup_init_alloc(struct rdtgroup *rdtgrp) rdt_last_cmd_puts("Failed to initialize allocations\n"); goto out; } - } rdtgrp->mode = RDT_MODE_SHAREABLE; -- 2.34.1