aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-02-19 00:34:59 +0300
committerAnna Schumaker <[email protected]>2017-02-21 10:53:36 -0500
commit9761a2469dc287c6d75ca148f4fc483becbcad88 (patch)
treec59140035afb7f89906f920b488952a3d6a1913e /tools/perf/scripts/python/export-to-postgresql.py
parent251af29c320d86071664f02c76f0d063a19fefdf (diff)
sunrpc: silence uninitialized variable warning
kstrtouint() can return a couple different error codes so the check for "ret == -EINVAL" is wrong and static analysis tools correctly complain that we can use "num" without initializing it. It's not super harmful because we check the bounds. But it's also easy enough to fix. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions