diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-11-03 22:53:08 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-12-13 14:28:37 +0300 |
commit | 7d6766f5377686b871ab52c564327718ece233ad (patch) | |
tree | e2a999c93fcab3c39f318821e26e3707ffa576d0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9bbd6b7209cf1e26390975b7617a29901c8990a1 (diff) | |
download | linux-7d6766f5377686b871ab52c564327718ece233ad.tar.xz |
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 <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20231103195310.948327-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions