[Intel-gfx] [PATCH v4] string-choice: add yesno(), onoff(), enableddisabled(), plural() helpers

Jani Nikula jani.nikula at intel.com
Wed Oct 23 13:26:13 UTC 2019


On Wed, 23 Oct 2019, Rasmus Villemoes <linux at rasmusvillemoes.dk> wrote:
> On 23/10/2019 15.13, Jani Nikula wrote:
>> The kernel has plenty of ternary operators to choose between constant
>> strings, such as condition ? "yes" : "no", as well as value == 1 ? "" :
>> "s":
>> 
>> 
>> v4: Massaged commit message about space savings to make it less fluffy
>> based on Rasmus' feedback.
>
> Thanks, it looks good to me. FWIW,
>
> Acked-by: Rasmus Villemoes <linux at rasmusvillemoes.dk>

Thanks.

I think the question is, which tree to apply this to, who's going to
pick it up? I'm fine with any route.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list