From: Linus Walleij <linus.walleij@linaro.org>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 2/2] pinctrl: Relax user input size in pinmux_select()
Date: Fri, 9 Jun 2023 09:22:11 +0200 [thread overview]
Message-ID: <CACRpkdbq7nKAk5ydw+b+PRjFGf-z_1rAwNwpLgntmfg-xA0yhQ@mail.gmail.com> (raw)
In-Reply-To: <20230604131215.78847-2-andriy.shevchenko@linux.intel.com>
On Sun, Jun 4, 2023 at 3:12 PM Andy Shevchenko
<andriy.shevchenko@linux.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@linux.intel.com>
Fair enough, patch applied!
Yours,
Linus Walleij
next prev parent reply other threads:[~2023-06-09 7:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-04 13:12 [PATCH v1 1/2] pinctrl: Duplicate user memory in one go in pinmux_select() Andy Shevchenko
2023-06-04 13:12 ` [PATCH v1 2/2] pinctrl: Relax user input size " Andy Shevchenko
2023-06-09 7:22 ` Linus Walleij [this message]
[not found] ` <24d8898b-1e3b-8180-e96b-a3296de178a9@web.de>
2023-06-13 15:33 ` [PATCH " Andy Shevchenko
2023-06-13 18:17 ` Linus Walleij
2023-06-09 7:21 ` [PATCH v1 1/2] pinctrl: Duplicate user memory in one go " Linus Walleij
[not found] ` <39569326-6b1c-39b1-0eb2-f1c1d11251ec@web.de>
2023-06-13 15:35 ` [PATCH " Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACRpkdbq7nKAk5ydw+b+PRjFGf-z_1rAwNwpLgntmfg-xA0yhQ@mail.gmail.com \
--to=linus.walleij@linaro.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).