summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/resctrl/resctrlfs.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2023-02-15 15:06:00 +0200
committerShuah Khan <skhan@linuxfoundation.org>2023-04-10 12:20:46 -0600
commit0d45c83b95da414e98ad333e723141a94f6e2c64 (patch)
tree4c6f5ab726cde369ebea7ee4b6e3949793f140f2 /tools/testing/selftests/resctrl/resctrlfs.c
parentfa10366cc6f4cc862871f8938426d85c2481f084 (diff)
selftests/resctrl: Check for return value after write_schemata()
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>
Diffstat (limited to 'tools/testing/selftests/resctrl/resctrlfs.c')
0 files changed, 0 insertions, 0 deletions