]> git.baikalelectronics.ru Git - kernel.git/commit
proc: fixup proc-pid-vm test
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 19 Apr 2019 00:50:27 +0000 (17:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 19 Apr 2019 16:46:04 +0000 (09:46 -0700)
commit4420e4ceb2f0007b035c9cf8cb9192e556e0cc15
tree661274d1dfbc825d5a310d31972fc158d8079b75
parentf517ed57377f72f325f76c03b91503dff6a7613b
proc: fixup proc-pid-vm test

Silly sizeof(pointer) vs sizeof(uint8_t[]) bug.

Link: http://lkml.kernel.org/r/20190414123009.GA12971@avx2
Fixes: 869afd86e602 ("proc: test /proc/*/maps, smaps, smaps_rollup, statm")
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/proc/proc-pid-vm.c