[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdaAkS=fehsdQtuC4_45Rd=hQ9LiThTOKxVOwabqHO=EoA@mail.gmail.com>
Date: Sat, 4 Nov 2023 23:26:37 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org,
Pavel Machek <pavel@....cz>, Lee Jones <lee@...nel.org>
Subject: Re: [PATCH v1 2/4] leds: trigger: gpio: Convert to use kstrtox()
On Fri, Nov 3, 2023 at 9:03 PM Andy Shevchenko
<andriy.shevchenko@...ux.intel.com> wrote:
> sscanf() is a heavy one and moreover requires additional boundary checks.
> Convert driver to use kstrtou8() in gpio_trig_inverted_store().
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists