summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-05-08 21:47:00 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-04 18:47:08 +0300
commit761b4cf31741b2d0beda5de4c36253b553939263 (patch)
tree05d5553b11785afaa9d35f108c5c9a8e8bb76724 /tools/perf/scripts/python/mem-phys-addr.py
parent163898508f96efaafaa87000c7c4bbf711a34bd9 (diff)
downloadlinux-761b4cf31741b2d0beda5de4c36253b553939263.tar.xz
misc: eeprom_93xx46: Convert to use kstrtox()
sscanf() is a heavy one and moreover requires additional boundary checks. Convert driver to use kstrtobool() in eeprom_93xx46_store_erase(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20240508184905.2102633-8-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions