]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lib/string_choices: Add str_true_false()/str_false_true() helper
authorHongbo Li <lihongbo22@huawei.com>
Tue, 27 Aug 2024 02:45:15 +0000 (10:45 +0800)
committerKees Cook <kees@kernel.org>
Thu, 5 Sep 2024 16:48:40 +0000 (09:48 -0700)
commit6ff4cd1160afafc12ad1603e3d2f39256e4b708d
tree02925873a4cd33b9759b6e529b3d9e9222aa0717
parent559048d156ff3391c4b793779a824c9193e20442
lib/string_choices: Add str_true_false()/str_false_true() helper

Add str_true_false()/str_false_true() helper to return "true" or
"false" string literal.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://lore.kernel.org/r/20240827024517.914100-2-lihongbo22@huawei.com
Signed-off-by: Kees Cook <kees@kernel.org>
include/linux/string_choices.h