Re: [PATCH -next 0/2] Add str_true_false()/str_false_true() helper

2024-08-23 Thread Hongbo Li
On 2024/8/23 21:38, Greg KH wrote: On Fri, Aug 23, 2024 at 04:22:32PM +0300, Andy Shevchenko wrote: On Fri, Aug 23, 2024 at 9:13 AM Hongbo Li wrote: 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

Re: [PATCH -next 0/2] Add str_true_false()/str_false_true() helper

2024-08-23 Thread Andy Shevchenko
On Fri, Aug 23, 2024 at 09:38:39PM +0800, Greg KH wrote: > On Fri, Aug 23, 2024 at 04:22:32PM +0300, Andy Shevchenko wrote: > > On Fri, Aug 23, 2024 at 9:13 AM Hongbo Li wrote: > > > > > > Add str_true_false()/str_false_true() helper to "true" or "false" > > > string literal. And we found more tha

Re: [PATCH -next 0/2] Add str_true_false()/str_false_true() helper

2024-08-23 Thread Greg KH
On Fri, Aug 23, 2024 at 04:22:32PM +0300, Andy Shevchenko wrote: > On Fri, Aug 23, 2024 at 9:13 AM Hongbo Li wrote: > > > > 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

Re: [PATCH -next 0/2] Add str_true_false()/str_false_true() helper

2024-08-23 Thread Andy Shevchenko
On Fri, Aug 23, 2024 at 9:13 AM Hongbo Li wrote: > > 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. Squash them into a single patch. There is no need t

[PATCH -next 0/2] Add str_true_false()/str_false_true() helper

2024-08-22 Thread Hongbo Li
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_fa