aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2020-05-15 13:27:04 +0000
committerAndy Shevchenko <[email protected]>2020-05-30 14:43:31 +0000
commit5cdc45ed3948042f0d73c6fec5ee9b59e637d0d2 (patch)
tree0239d844967b93760b03194131b400ec5f2af125 /tools/perf/scripts/python/check-perf-trace.py
parentplatform/x86: hp-wmi: Refactor postcode_store() to follow standard patterns (diff)
downloadkernel-5cdc45ed3948042f0d73c6fec5ee9b59e637d0d2.tar.gz
kernel-5cdc45ed3948042f0d73c6fec5ee9b59e637d0d2.zip
platform/x86: hp-wmi: Convert simple_strtoul() to kstrtou32()
First of all, unsigned long can overflow u32 value on 64-bit machine. Second, simple_strtoul() doesn't check for overflow in the input. Convert simple_strtoul() to kstrtou32() to eliminate above issues. Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions