All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next 0/2] Add str_true_false()/str_false_true() helper
@ 2024-08-23  6:20 Hongbo Li
  2024-08-23  6:20 ` [PATCH -next 1/2] lib/string_choices: Add str_true_false() helper Hongbo Li
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Hongbo Li @ 2024-08-23  6:20 UTC (permalink / raw)
  To: kees, andy; +Cc: lihongbo22, linux-hardening

Add str_true_false()/str_false_true() helper to "true" or "false"
string literal. And we found more than 10 cases currently exist
in the tree. So these helpers can be used for these cases.

Hongbo Li (2):
  lib/string_choices: Add str_true_false() helper
  lib/string_choices: Add wrapper for str_false_true()

 include/linux/string_choices.h | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-24  2:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23  6:20 [PATCH -next 0/2] Add str_true_false()/str_false_true() helper Hongbo Li
2024-08-23  6:20 ` [PATCH -next 1/2] lib/string_choices: Add str_true_false() helper Hongbo Li
2024-08-23  6:20 ` [PATCH -next 2/2] lib/string_choices: Add wrapper for str_false_true() Hongbo Li
2024-08-23 13:22 ` [PATCH -next 0/2] Add str_true_false()/str_false_true() helper Andy Shevchenko
2024-08-23 13:38   ` Greg KH
2024-08-23 14:25     ` Andy Shevchenko
2024-08-24  2:07     ` Hongbo Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.