summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2023-02-15 15:06:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-11 23:03:06 +0900
commit74f77a799dad50d711861f7f5101c3a9a631da91 (patch)
treeb902a9a4fffdd2d09663e39727458f25bb404f88 /security
parentbceef0c7f6ed635aec972d221f2c7827f5cb548b (diff)
downloadlinux-stable-74f77a799dad50d711861f7f5101c3a9a631da91.tar.gz
linux-stable-74f77a799dad50d711861f7f5101c3a9a631da91.tar.bz2
linux-stable-74f77a799dad50d711861f7f5101c3a9a631da91.zip
selftests/resctrl: Check for return value after write_schemata()
[ Upstream commit 0d45c83b95da414e98ad333e723141a94f6e2c64 ] MBA test case writes schemata but it does not check if the write is successful or not. Add the error check and return error properly. Fixes: 01fee6b4d1f9 ("selftests/resctrl: Add MBA test") Co-developed-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions