Re: [PATCH] media: atomisp: gmin: Use str_on_off() helper

From: Kees Cook

Date: Wed Jun 10 2026 - 18:19:34 EST


On Wed, Jun 10, 2026 at 08:23:48PM +0200, Mert Seftali wrote:
> Replace the open-coded "on" : "off" ternary with the standard
> str_on_off() helper from <linux/string_choices.h>. This improves
> readability and reuses the kernel's existing string helper instead of
> duplicating the literals.
>
> No functional change intended.
>
> Signed-off-by: Mert Seftali <mertsftl@xxxxxxxxx>

Reviewed-by: Kees Cook <kees@xxxxxxxxxx>

--
Kees Cook