From nobody Mon Feb 9 13:58:18 2026 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E60E27EC68 for ; Fri, 28 Feb 2025 20:02:31 +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=1740772952; cv=none; b=lU8THN7+2ilunr/WUu6H1JZQOKEVyztDAuOplNcde+GFwqR2E9k8y9lRbZiRUfzm8mrTjM3wpLMVV3SeaXXUZ8KbVZBPZMpSBxTwBVidpzVCuPKndhJ5kzS3kz4B0EicWwW3VyhcPLUrtXmx6+HxvSuNpuxVeiPqa6eU4WZ6YF8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740772952; c=relaxed/simple; bh=vK1wcmv4VUG7DuzRQElncNi1RxMd7tsyH6O5/focxe4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tmZTtWKjhMwjlH6zIaEdpqWduEGMN4miF805giNWSUPVZ5aZxcS+OodkcMqiY4J5Kzj2hA812d02PxkjtOWgZwBpnRA2lmzLiNb6GZUTWDw6WL7fF+H2TN8TmtfPSovmvSYqNX5smGuzHJecxWJt7s0BaftLVaNlMDE1fP4j98M= 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 BA430150C; Fri, 28 Feb 2025 12:02:45 -0800 (PST) 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 65CE83F5A1; Fri, 28 Feb 2025 12:02:27 -0800 (PST) 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 Subject: [PATCH v7 42/49] x86/resctrl: Squelch whitespace anomalies in resctrl core code Date: Fri, 28 Feb 2025 19:59:06 +0000 Message-Id: <20250228195913.24895-43-james.morse@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20250228195913.24895-1-james.morse@arm.com> References: <20250228195913.24895-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 Reviewed-by: Fenghua Yu Reviewed-by: Reinette Chatre --- Changes since v6: * This patch is new. --- 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 3d90e9334b1f..f03432e1b1f6 100644 --- a/arch/x86/kernel/cpu/resctrl/rdtgroup.c +++ b/arch/x86/kernel/cpu/resctrl/rdtgroup.c @@ -1003,7 +1003,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 of->kn->parent->priv; struct rdt_resource *r =3D s->res; @@ -1013,7 +1013,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 of->kn->parent->priv; struct rdt_resource *r =3D s->res; @@ -1129,7 +1129,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 of->kn->parent->priv; struct rdt_resource *r =3D s->res; @@ -1164,7 +1164,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 of->kn->parent->priv; struct rdt_resource *r =3D s->res; @@ -1174,7 +1174,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 of->kn->parent->priv; struct rdt_resource *r =3D s->res; @@ -2047,7 +2047,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) @@ -3654,7 +3653,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