summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-11-03 22:53:08 +0300
committerLee Jones <lee@kernel.org>2023-12-13 14:28:37 +0300
commit7d6766f5377686b871ab52c564327718ece233ad (patch)
treee2a999c93fcab3c39f318821e26e3707ffa576d0 /tools/perf/scripts/python/export-to-postgresql.py
parent9bbd6b7209cf1e26390975b7617a29901c8990a1 (diff)
downloadlinux-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