From nobody Fri Dec 19 17:17:37 2025 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 59CD2211489 for ; Fri, 25 Apr 2025 17:39:57 +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=1745602799; cv=none; b=appX8VsiKdqPYNJwEvBxO84Vi+ccLC6ScH1vZ+Q6lPqOHe72sMf6gGHRML8R+jZzDrgUCQ1whW/Ha23L+ELHnSb9PaPQPNIMmgVyvgIQPWfoCRe8tDODNZeBeMOswxVyEqE8yI6XRkKdX60YGMgsfOvNe12YBgBGQSDWPVnf6Aw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745602799; c=relaxed/simple; bh=+TAuMQKiBbVOqbKfsdn2cNlfu4GW9NPWu9XhM13oNLc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=BzoPJsBW+5cRyUycHrbDl5UPIWhy7QVrX60Rx54oSbUZcHdliuVlp7ybvPa/V1+rD+wU70/j3Y89+xnt5VMhEwDqmG0kN7+dRyde+t/Lsc6sDpTYUsLWH2Ry4YG2AYWe4gGDVac2ExVL7O6LqUdQBZeregjdSH+YuQEMrpRXIl8= 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 7C0E222C7; Fri, 25 Apr 2025 10:39:51 -0700 (PDT) Received: from merodach.members.linode.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5E0553F59E; Fri, 25 Apr 2025 10:39:52 -0700 (PDT) From: James Morse To: x86@kernel.org, linux-kernel@vger.kernel.org Cc: Reinette Chatre , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , Babu Moger , James Morse , shameerali.kolothum.thodi@huawei.com, D Scott Phillips OS , carl@os.amperecomputing.com, lcherian@marvell.com, bobo.shaobowang@huawei.com, tan.shaopeng@fujitsu.com, baolin.wang@linux.alibaba.com, Jamie Iles , Xin Hao , peternewman@google.com, dfustini@baylibre.com, amitsinght@marvell.com, David Hildenbrand , Rex Nie , Dave Martin , Koba Ko , Shanker Donthineni , fenghuay@nvidia.com, Dave Martin , Shaopeng Tan , Babu Moger Subject: [PATCH v9 16/27] x86/resctrl: Squelch whitespace anomalies in resctrl core code Date: Fri, 25 Apr 2025 17:37:58 +0000 Message-Id: <20250425173809.5529-17-james.morse@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20250425173809.5529-1-james.morse@arm.com> References: <20250425173809.5529-1-james.morse@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: quoted-printable Content-Type: text/plain; charset="utf-8" From: Dave Martin 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 Signed-off-by: James Morse Tested-by: Peter Newman Tested-by: Shaopeng Tan Tested-by: Amit Singh Tomar # arm64 Tested-by: Shanker Donthineni # arm64 Tested-by: Babu Moger Reviewed-by: Fenghua Yu Reviewed-by: Reinette Chatre --- 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/r= esctrl/rdtgroup.c index 179959da2226..472e93ea56fc 100644 --- a/arch/x86/kernel/cpu/resctrl/rdtgroup.c +++ b/arch/x86/kernel/cpu/resctrl/rdtgroup.c @@ -1024,7 +1024,7 @@ static int rdt_num_closids_show(struct kernfs_open_fi= le *of, } =20 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 =3D rdt_kn_parent_priv(of->kn); struct rdt_resource *r =3D s->res; @@ -1034,7 +1034,7 @@ static int rdt_default_ctrl_show(struct kernfs_open_f= ile *of, } =20 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 =3D rdt_kn_parent_priv(of->kn); struct rdt_resource *r =3D s->res; @@ -1150,7 +1150,7 @@ static int rdt_bit_usage_show(struct kernfs_open_file= *of, } =20 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 =3D rdt_kn_parent_priv(of->kn); struct rdt_resource *r =3D s->res; @@ -1185,7 +1185,7 @@ static int rdt_mon_features_show(struct kernfs_open_f= ile *of, } =20 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 =3D rdt_kn_parent_priv(of->kn); struct rdt_resource *r =3D s->res; @@ -1195,7 +1195,7 @@ static int rdt_bw_gran_show(struct kernfs_open_file *= of, } =20 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 =3D rdt_kn_parent_priv(of->kn); struct rdt_resource *r =3D s->res; @@ -2068,7 +2068,6 @@ static struct rftype res_common_files[] =3D { .seq_show =3D rdtgroup_closid_show, .fflags =3D RFTYPE_CTRL_BASE | RFTYPE_DEBUG, }, - }; =20 static int rdtgroup_add_files(struct kernfs_node *kn, unsigned long fflags) @@ -3628,7 +3627,6 @@ static int rdtgroup_init_alloc(struct rdtgroup *rdtgr= p) rdt_last_cmd_puts("Failed to initialize allocations\n"); goto out; } - } =20 rdtgrp->mode =3D RDT_MODE_SHAREABLE; --=20 2.39.5