Commit a98ae7f0 authored by Michal Wajdeczko's avatar Michal Wajdeczko Committed by Kees Cook
Browse files

lib/string_choices: Add str_up_down() helper



Add str_up_down() helper to return "up" or "down" string literal.

Signed-off-by: default avatarMichal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://lore.kernel.org/r/20240725101841.574-1-michal.wajdeczko@intel.com


Signed-off-by: default avatarKees Cook <kees@kernel.org>
parent 9c6b7fbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment