summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorHongbo Li <lihongbo22@huawei.com>2024-08-27 10:45:15 +0800
committerAndrew Morton <akpm@linux-foundation.org>2024-09-01 20:43:41 -0700
commit32cebfe1cc21a84e4a907575bb9fd1c3f6b091fd (patch)
treed45b6e1365cf9ddf3922767a32121e8deecebda0 /Makefile
parente16c7b07784f3fb03025939c4590b9a7c64970a7 (diff)
downloadlinux-32cebfe1cc21a84e4a907575bb9fd1c3f6b091fd.tar.gz
linux-32cebfe1cc21a84e4a907575bb9fd1c3f6b091fd.tar.bz2
linux-32cebfe1cc21a84e4a907575bb9fd1c3f6b091fd.zip
lib/string_choices: add str_true_false()/str_false_true() helper
Add str_true_false()/str_false_true() helper to retur a "true" or "false" string literal. We found more than 10 cases currently exist in the tree. So these helpers can be used for these cases. This patch (of 3): Add str_true_false()/str_false_true() helper to return "true" or "false" string literal. Link: https://lkml.kernel.org/r/20240827024517.914100-1-lihongbo22@huawei.com Link: https://lkml.kernel.org/r/20240827024517.914100-2-lihongbo22@huawei.com Signed-off-by: Hongbo Li <lihongbo22@huawei.com> Cc: Andy Shevchenko <andy@kernel.org> Cc: Anna Schumaker <anna@kernel.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Kees Cook <kees@kernel.org> Cc: Matthew Wilcox <willy@infradead.org> Cc: Trond Myklebust <trondmy@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions