]> git.baikalelectronics.ru Git - kernel.git/commit
tools/testing/selftests/vm/gup_benchmark.c: fix 'write' flag usage
authorKeith Busch <keith.busch@intel.com>
Fri, 26 Oct 2018 22:09:59 +0000 (15:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Oct 2018 23:38:15 +0000 (16:38 -0700)
commit8f6256da528c4851d66cdcf672673a062adfb503
treea44d1c34fb15be7991e5e50124246e70255a5ee6
parent360beea13eab217770dfc02f09495c9bb870b6a4
tools/testing/selftests/vm/gup_benchmark.c: fix 'write' flag usage

If the '-w' parameter was provided, the benchmark would exit due to a
mssing 'break'.

Link: http://lkml.kernel.org/r/20181010195605.10689-3-keith.busch@intel.com
Signed-off-by: Keith Busch <keith.busch@intel.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/vm/gup_benchmark.c