]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:21:16 +0000 (14:21 -0300)
commitbf972ea842c14456165bf2ffc61ce52b233ac08c
tree0bccd53cc02b900601c08ce5d7fe10a95b9f4efe
parentc596589672a853b3b66f0704bf9f647a6394a01c
tools/testing/selftests/vm/gup_benchmark.c: fix 'write' flag usage

BugLink: https://bugs.launchpad.net/bugs/1854975
[ Upstream commit 319e0bec1aecb36c5ac6d23812af487ff2c8f47f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
tools/testing/selftests/vm/gup_benchmark.c