aboutsummaryrefslogtreecommitdiffstats
path: root/init/init_task.c
diff options
context:
space:
mode:
authorDmitry Safonov <[email protected]>2020-04-20 18:32:55 +0000
committerThomas Gleixner <[email protected]>2020-04-21 18:33:16 +0000
commit833e55bb99bce116682efb94870b5c9f8a66f6af (patch)
treeb90c9ccdfbcdca6b70b38d0bbe188fec3a6bef72 /init/init_task.c
parentx86/vdso/vdso2c: Correct error messages on file open (diff)
downloadkernel-833e55bb99bce116682efb94870b5c9f8a66f6af.tar.gz
kernel-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 <[email protected]> Signed-off-by: Andrei Vagin <[email protected]> Signed-off-by: Dmitry Safonov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Andy Lutomirski <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions