pinctrl: Relax user input size in pinmux_select()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 4 Jun 2023 13:12:15 +0000 (16:12 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 9 Jun 2023 07:20:56 +0000 (09:20 +0200)
commite3275a89e5c7c4a78522357b8b677b1a79d4d011
treeed389f6199fe0de7385245f6bf6817e52083adfe
parent0d8675e1dfa6253e92b6e42504094d42f27d3ca6
pinctrl: Relax user input size in pinmux_select()

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>
Link: https://lore.kernel.org/r/20230604131215.78847-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinmux.c