linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] selftests/resctrl: Fixes to error handling logic
@ 2023-02-08  9:30 Ilpo Järvinen
  2023-02-08  9:30 ` [PATCH 1/4] selftests/resctrl: Return error if memory is not allocated Ilpo Järvinen
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Ilpo Järvinen @ 2023-02-08  9:30 UTC (permalink / raw)
  To: linux-kselftest, linux-kernel, Reinette Chatre, Fenghua Yu,
	Shuah Khan
  Cc: Ilpo Järvinen

This series fixes a few cleanup/error handling problems.

Fenghua Yu (1):
  selftests/resctrl: Return error if memory is not allocated

Ilpo Järvinen (3):
  selftests/resctrl: Move ->setup() call outside of test specific
    branches
  selftests/resctrl: Allow ->setup() to return errors
  selftests/resctrl: Check for return value after write_schemata()

 tools/testing/selftests/resctrl/cache.c       |  4 +++-
 tools/testing/selftests/resctrl/cat_test.c    |  2 +-
 tools/testing/selftests/resctrl/cmt_test.c    |  2 +-
 tools/testing/selftests/resctrl/fill_buf.c    |  2 ++
 tools/testing/selftests/resctrl/mba_test.c    |  9 ++++++--
 tools/testing/selftests/resctrl/mbm_test.c    |  2 +-
 tools/testing/selftests/resctrl/resctrl.h     |  2 ++
 tools/testing/selftests/resctrl/resctrl_val.c | 21 +++++++------------
 8 files changed, 25 insertions(+), 19 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-02-14 17:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-08  9:30 [PATCH 0/4] selftests/resctrl: Fixes to error handling logic Ilpo Järvinen
2023-02-08  9:30 ` [PATCH 1/4] selftests/resctrl: Return error if memory is not allocated Ilpo Järvinen
2023-02-14  1:00   ` Reinette Chatre
2023-02-14  9:32     ` Ilpo Järvinen
2023-02-14 17:01       ` Reinette Chatre
2023-02-08  9:30 ` [PATCH 2/4] selftests/resctrl: Move ->setup() call outside of test specific branches Ilpo Järvinen
2023-02-08  9:30 ` [PATCH 3/4] selftests/resctrl: Allow ->setup() to return errors Ilpo Järvinen
2023-02-08  9:30 ` [PATCH 4/4] selftests/resctrl: Check for return value after write_schemata() Ilpo Järvinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).