diff options
author | Hongbo Li <[email protected]> | 2024-08-27 10:45:15 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-09-01 20:43:41 -0700 |
commit | 32cebfe1cc21a84e4a907575bb9fd1c3f6b091fd (patch) | |
tree | d45b6e1365cf9ddf3922767a32121e8deecebda0 /scripts/generate_rust_analyzer.py | |
parent | e16c7b07784f3fb03025939c4590b9a7c64970a7 (diff) |
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/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Hongbo Li <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Anna Schumaker <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Trond Myklebust <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions