On Mon, 15 Nov 2021, Andy Shevchenko andriy.shevchenko@linux.intel.com wrote:
On Tue, Oct 05, 2021 at 02:34:23PM -0700, Lucas De Marchi wrote:
On Mon, Feb 15, 2021 at 04:21:35PM +0200, Andy Shevchenko wrote:
We have already few similar implementation and a lot of code that can benefit of the yesno() helper. Consolidate yesno() helpers under string.h hood.
I was taking a look on i915_utils.h to reduce it and move some of it elsewhere to be shared with others. I was starting with these helpers and had [1] done, then Jani pointed me to this thread and also his previous tentative. I thought the natural place for this would be include/linux/string_helpers.h, but I will leave it up to you.
Seems reasonable to use string_helpers (headers and/or C-file).
After reading the threads, I don't see real opposition to it. Is there a tree you plan to take this through?
I rest my series in favour of Jani's approach, so I suppose there is no go for _this_ series.
If you want to make it happen, please pick it up and drive it. I'm thoroughly had enough of this.
BR, Jani.
[1] https://lore.kernel.org/lkml/20211005212634.3223113-1-lucas.demarchi@intel.c...