Re: [PATCH v2 1/2] lib/string_choices: Add str_supported_unsupported() helper
From: Thorsten Blum
Date: Mon Sep 07 2026 - 07:13:07 EST
On Mon, Sep 07, 2026 at 10:43:20AM +0200, Thorsten Blum wrote:
> Add str_supported_unsupported() to return "supported" or "unsupported"
> depending on the boolean argument. Also add the inverse
> str_unsupported_supported().
>
> Signed-off-by: Thorsten Blum <blum@xxxxxxxxxx>
> ---
> include/linux/string_choices.h | 6 ++++++
> 1 file changed, 6 insertions(+)
Suggested-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>