diff options
author | Dmitry Safonov <dima@arista.com> | 2020-04-20 19:32:55 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-04-21 20:33:16 +0200 |
commit | 833e55bb99bce116682efb94870b5c9f8a66f6af (patch) | |
tree | b90c9ccdfbcdca6b70b38d0bbe188fec3a6bef72 /lib/test_uuid.c | |
parent | 089ef5579fc1b0b748bfb1600b4392f42db6fd5f (diff) |
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 'lib/test_uuid.c')
0 files changed, 0 insertions, 0 deletions