diff options
| author | Andy Shevchenko <[email protected]> | 2023-11-03 21:53:08 +0200 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2023-12-13 11:28:37 +0000 |
| commit | 7d6766f5377686b871ab52c564327718ece233ad (patch) | |
| tree | e2a999c93fcab3c39f318821e26e3707ffa576d0 /lib/crypto/mpi/mpi-add.c | |
| parent | 9bbd6b7209cf1e26390975b7617a29901c8990a1 (diff) | |
leds: trigger: gpio: Convert to use kstrtox()
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 <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions