summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorWander Lairson Costa <wander@redhat.com>2026-01-06 08:49:44 -0300
committerTomas Glozar <tglozar@redhat.com>2026-01-07 15:57:55 +0100
commit9bf942f3c370c9b3af639df04cb5f34daf512dab (patch)
treea6a350215cf9acb4cb5a6f147131a8b4ddedae27 /rust/alloc/collections/git@git.tavy.me:linux.git
parent7e9dfccf8f11c26208211457c4597a466135b56a (diff)
rtla: Use standard exit codes for result enum
The result enum defines custom values for PASSED, ERROR, and FAILED. These values correspond to standard exit codes EXIT_SUCCESS and EXIT_FAILURE. Update the enum to use the standard macros EXIT_SUCCESS and EXIT_FAILURE to improve readability and adherence to standard C practices. The FAILED value is implicitly assigned EXIT_FAILURE + 1, so there is no need to assign an explicit value. Signed-off-by: Wander Lairson Costa <wander@redhat.com> Link: https://lore.kernel.org/r/20260106133655.249887-9-wander@redhat.com Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions