[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbq7nKAk5ydw+b+PRjFGf-z_1rAwNwpLgntmfg-xA0yhQ@mail.gmail.com>
Date: Fri, 9 Jun 2023 09:22:11 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 2/2] pinctrl: Relax user input size in pinmux_select()
On Sun, Jun 4, 2023 at 3:12 PM Andy Shevchenko
<andriy.shevchenko@...ux.intel.com> 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@...ux.intel.com>
Fair enough, patch applied!
Yours,
Linus Walleij
Powered by blists - more mailing lists