diff options
author | 2015-03-29 23:11:30 -0700 | |
---|---|---|
committer | 2015-04-07 23:27:58 -0700 | |
commit | 2e1cd90d718a5fc721e0caa0dc9f037d9b1f46b8 (patch) | |
tree | db299afd5e70126a52bba991a79bd2daffdf9957 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iser-target: Bump version to 1.0 (diff) | |
download | linux-dev-2e1cd90d718a5fc721e0caa0dc9f037d9b1f46b8.tar.xz linux-dev-2e1cd90d718a5fc721e0caa0dc9f037d9b1f46b8.zip |
tcm_loop: fixup tpgt string to integer conversion
Currently, for example, mkdir "tpgt_xyz" doesn't return error.
mkdir /sys/kernel/config/target/loopback/naa.60014055f195952b/tpgt_xyz
Replace obsoleted simple_strtoul with kstrtoul and check the conversion.
Signed-off-by: Ming Lin <mlin@kernel.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions