diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2018-06-07 17:10:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-07 17:34:38 -0700 |
commit | 5d008fb414f7c73e0761835d941943e17d32463d (patch) | |
tree | 67a082aa9a1555628b16d5024aefd67f57e072f6 /tools/testing/selftests/proc | |
parent | 197850a1e04ab586953a4434a6c4c6575b7d2122 (diff) | |
download | talos-op-linux-5d008fb414f7c73e0761835d941943e17d32463d.tar.gz talos-op-linux-5d008fb414f7c73e0761835d941943e17d32463d.zip |
proc: use "unsigned int" for /proc/*/stack
struct stack_trace::nr_entries is defined as "unsigned int" (YAY!) so
the iterator should be unsigned as well.
It saves 1 byte of code or something like that.
Link: http://lkml.kernel.org/r/20180423215248.GG9043@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/proc')
0 files changed, 0 insertions, 0 deletions