Commit 6a709626 authored by Wang ShaoBo's avatar Wang ShaoBo Committed by Jialin Zhang
Browse files

arm64/mpam: Fix uninitialized symbol ret

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8EF0Z



--------------------------------

This fix compile error:

arch/arm64/kernel/mpam/mpam_ctrlmon.c:793
resctrl_mkdir_mondata_all_subdir() error: uninitialized symbol 'ret'.

Fixes: 037915d2 ("arm64/mpam: resctrl: Remove ctrlmon sysfile")
Signed-off-by: default avatarWang ShaoBo <bobo.shaobowang@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parent 122be423
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -769,7 +769,7 @@ int resctrl_mkdir_mondata_all_subdir(struct kernfs_node *parent_kn,
{
	struct resctrl_schema *s;
	struct resctrl_resource *r;
	int ret;
	int ret = 0;

	/*
	 * Create the subdirectories for each domain. Note that all events