Messages in this thread | | | Date | Mon, 15 Feb 2021 17:58:46 +0200 | From | Andy Shevchenko <> | Subject | Re: [PATCH v1 1/3] string: Consolidate yesno() helpers under string.h hood |
| |
On Mon, Feb 15, 2021 at 04:37:50PM +0200, Jani Nikula wrote: > On Mon, 15 Feb 2021, Andy Shevchenko <andriy.shevchenko@linux.intel.com> 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. > > Good luck. I gave up after just four versions. [1]
Thanks for a pointer! I like your version, but here we also discussing a possibility to do something like %py[DOY]. It will consolidate all those RO or whatever sections inside one data structure.
> Acked-by: Jani Nikula <jani.nikula@intel.com> > > [1] http://lore.kernel.org/r/20191023131308.9420-1-jani.nikula@intel.com
-- With Best Regards, Andy Shevchenko
| |