Skip to content

Commit 556f48a

Browse files
Dave Martinbp3tk0v
authored andcommitted
x86/resctrl: Squelch whitespace anomalies in resctrl core code
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 <Dave.Martin@arm.com> Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Fenghua Yu <fenghuay@nvidia.com> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Tested-by: Fenghua Yu <fenghuay@nvidia.com> Tested-by: Peter Newman <peternewman@google.com> Tested-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Tested-by: Amit Singh Tomar <amitsinght@marvell.com> # arm64 Tested-by: Shanker Donthineni <sdonthineni@nvidia.com> # arm64 Tested-by: Babu Moger <babu.moger@amd.com> Tested-by: Tony Luck <tony.luck@intel.com> Link: https://lore.kernel.org/20250515165855.31452-21-james.morse@arm.com
1 parent 279f225 commit 556f48a

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

arch/x86/kernel/cpu/resctrl/rdtgroup.c

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ static int rdt_num_closids_show(struct kernfs_open_file *of,
10241024
}
10251025

10261026
static int rdt_default_ctrl_show(struct kernfs_open_file *of,
1027-
struct seq_file *seq, void *v)
1027+
struct seq_file *seq, void *v)
10281028
{
10291029
struct resctrl_schema *s = rdt_kn_parent_priv(of->kn);
10301030
struct rdt_resource *r = s->res;
@@ -1034,7 +1034,7 @@ static int rdt_default_ctrl_show(struct kernfs_open_file *of,
10341034
}
10351035

10361036
static int rdt_min_cbm_bits_show(struct kernfs_open_file *of,
1037-
struct seq_file *seq, void *v)
1037+
struct seq_file *seq, void *v)
10381038
{
10391039
struct resctrl_schema *s = rdt_kn_parent_priv(of->kn);
10401040
struct rdt_resource *r = s->res;
@@ -1150,7 +1150,7 @@ static int rdt_bit_usage_show(struct kernfs_open_file *of,
11501150
}
11511151

11521152
static int rdt_min_bw_show(struct kernfs_open_file *of,
1153-
struct seq_file *seq, void *v)
1153+
struct seq_file *seq, void *v)
11541154
{
11551155
struct resctrl_schema *s = rdt_kn_parent_priv(of->kn);
11561156
struct rdt_resource *r = s->res;
@@ -1185,7 +1185,7 @@ static int rdt_mon_features_show(struct kernfs_open_file *of,
11851185
}
11861186

11871187
static int rdt_bw_gran_show(struct kernfs_open_file *of,
1188-
struct seq_file *seq, void *v)
1188+
struct seq_file *seq, void *v)
11891189
{
11901190
struct resctrl_schema *s = rdt_kn_parent_priv(of->kn);
11911191
struct rdt_resource *r = s->res;
@@ -1195,7 +1195,7 @@ static int rdt_bw_gran_show(struct kernfs_open_file *of,
11951195
}
11961196

11971197
static int rdt_delay_linear_show(struct kernfs_open_file *of,
1198-
struct seq_file *seq, void *v)
1198+
struct seq_file *seq, void *v)
11991199
{
12001200
struct resctrl_schema *s = rdt_kn_parent_priv(of->kn);
12011201
struct rdt_resource *r = s->res;
@@ -2068,7 +2068,6 @@ static struct rftype res_common_files[] = {
20682068
.seq_show = rdtgroup_closid_show,
20692069
.fflags = RFTYPE_CTRL_BASE | RFTYPE_DEBUG,
20702070
},
2071-
20722071
};
20732072

20742073
static int rdtgroup_add_files(struct kernfs_node *kn, unsigned long fflags)
@@ -3628,7 +3627,6 @@ static int rdtgroup_init_alloc(struct rdtgroup *rdtgrp)
36283627
rdt_last_cmd_puts("Failed to initialize allocations\n");
36293628
goto out;
36303629
}
3631-
36323630
}
36333631

36343632
rdtgrp->mode = RDT_MODE_SHAREABLE;

0 commit comments

Comments
 (0)