Re: [PATCH v1 2/2] pinctrl: Relax user input size in pinmux_select()

From: Linus Walleij
Date: Fri Jun 09 2023 - 03:23:06 EST


On Sun, Jun 4, 2023 at 3:12 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> This is debugfs and there is no much sense to strict the user from
> sending as much data as they can. The memdup_user_nul() will anyway
> fail if there is not enough memory.
>
> Relax the user input size by removing an artificial limitaion.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Fair enough, patch applied!

Yours,
Linus Walleij