[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240823062046.3323694-1-lihongbo22@huawei.com>
Date: Fri, 23 Aug 2024 14:20:44 +0800
From: Hongbo Li <lihongbo22@...wei.com>
To: <kees@...nel.org>, <andy@...nel.org>
CC: <lihongbo22@...wei.com>, <linux-hardening@...r.kernel.org>
Subject: [PATCH -next 0/2] Add str_true_false()/str_false_true() helper
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
Powered by blists - more mailing lists