tools/testing/selftests/vm/gup_benchmark.c: fix 'write' flag usage
authorKeith Busch <[email protected]>
Fri, 26 Oct 2018 22:09:59 +0000 (15:09 -0700)
committerLinus Torvalds <[email protected]>
Fri, 26 Oct 2018 23:38:15 +0000 (16:38 -0700)
commit319e0bec1aecb36c5ac6d23812af487ff2c8f47f
treea44d1c34fb15be7991e5e50124246e70255a5ee6
parent714a3a1ebafe6e23af55a5c694c308f4044a7e00
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/[email protected]
Signed-off-by: Keith Busch <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Dan Williams <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
tools/testing/selftests/vm/gup_benchmark.c