linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] selftests: Replace "Bail out" with "Error" in ksft_exit_fail_msg()
@ 2024-04-05 13:17 Muhammad Usama Anjum
  2024-04-05 13:17 ` [PATCH 1/2] selftests: Replace "Bail out" with "Error" Muhammad Usama Anjum
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Muhammad Usama Anjum @ 2024-04-05 13:17 UTC (permalink / raw)
  To: Eric Biederman, Kees Cook, Shuah Khan, Andrew Morton,
	Muhammad Usama Anjum, linux-mm, linux-kselftest, linux-kernel
  Cc: kernel

"Bail out! " is not descriptive. It rather should be: "Failed: " and
then this added prefix doesn't need to be added everywhere. Usually in
the logs, we are searching for "Failed" or "Error" instead of "Bail
out" so it must be replace.

Remove Error/Failed prefixes from all usages as well.

Muhammad Usama Anjum (2):
  selftests: Replace "Bail out" with "Error"
  selftests: Remove Error/Failed prefix from ksft_exit_fail*() usages

 tools/testing/selftests/exec/load_address.c   |   8 +-
 .../testing/selftests/exec/recursion-depth.c  |  10 +-
 tools/testing/selftests/kselftest.h           |   2 +-
 .../selftests/mm/map_fixed_noreplace.c        |  24 +--
 tools/testing/selftests/mm/map_populate.c     |   2 +-
 tools/testing/selftests/mm/mremap_dontunmap.c |   2 +-
 tools/testing/selftests/mm/pagemap_ioctl.c    | 166 +++++++++---------
 .../selftests/mm/split_huge_page_test.c       |   2 +-
 8 files changed, 108 insertions(+), 108 deletions(-)

-- 
2.39.2



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

end of thread, other threads:[~2024-04-05 21:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-05 13:17 [PATCH 0/2] selftests: Replace "Bail out" with "Error" in ksft_exit_fail_msg() Muhammad Usama Anjum
2024-04-05 13:17 ` [PATCH 1/2] selftests: Replace "Bail out" with "Error" Muhammad Usama Anjum
2024-04-05 15:32   ` Kees Cook
2024-04-05 13:17 ` [PATCH 2/2] selftests: Remove Error/Failed prefix from ksft_exit_fail*() usages Muhammad Usama Anjum
2024-04-05 15:32   ` Kees Cook
2024-04-05 14:56 ` [PATCH 0/2] selftests: Replace "Bail out" with "Error" in ksft_exit_fail_msg() Shuah Khan
2024-04-05 15:32   ` Kees Cook
2024-04-05 18:50     ` Shuah Khan
2024-04-05 19:36   ` Bird, Tim
2024-04-05 20:38     ` Muhammad Usama Anjum
2024-04-05 21:07       ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox