Commit cceab46d authored by Hongbo Yao's avatar Hongbo Yao Committed by Zheng Zengkai
Browse files

mpam: Code security rectification



hulk inclusion
category: feature
feature: ARM MPAM support
bugzilla: 48265
CVE: NA

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

Two aspects need to change:
1. Change the function "resctrl_ctrlmon_disable" from int to void
and delete unuse variable.
2. Change the code that refrences a null return value.Dereferencing
"rdtgrp", which is known to be "NULL".
Signed-off-by: default avatarHongbo Yao <yaohongbo@huawei.com>
Reviewed-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarWang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by: default avatarCheng Jian <cj.chengjian@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 27fad6e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment