diff options
author | 2020-04-20 19:32:55 +0100 | |
---|---|---|
committer | 2020-04-21 20:33:16 +0200 | |
commit | 833e55bb99bce116682efb94870b5c9f8a66f6af (patch) | |
tree | b90c9ccdfbcdca6b70b38d0bbe188fec3a6bef72 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/vdso/vdso2c: Correct error messages on file open (diff) | |
download | linux-dev-833e55bb99bce116682efb94870b5c9f8a66f6af.tar.xz linux-dev-833e55bb99bce116682efb94870b5c9f8a66f6af.zip |
x86/vdso/vdso2c: Convert iterators to unsigned
`i` and `j` are used everywhere with unsigned types.
Convert `i` to unsigned long in order to avoid signed to unsigned
comparisons. Convert `k` to unsigned int with the same purpose.
Also, drop `j` as `i` could be used in place of it.
Introduce syms_nr for readability.
Co-developed-by: Andrei Vagin <avagin@openvz.org>
Signed-off-by: Andrei Vagin <avagin@openvz.org>
Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20200420183256.660371-4-dima@arista.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions