projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
714a3a1
)
tools/testing/selftests/vm/gup_benchmark.c: fix 'write' flag usage
author
Keith Busch
<
[email protected]
>
Fri, 26 Oct 2018 22:09:59 +0000
(15:09 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 26 Oct 2018 23:38:15 +0000
(16:38 -0700)
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
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/vm/gup_benchmark.c
b/tools/testing/selftests/vm/gup_benchmark.c
index c2f785ded9b9438ca016e9bd94022d43c1f5eab9..b2082df8beb44d70f7a2ecbd9a9516ae76b40917 100644
(file)
--- a/
tools/testing/selftests/vm/gup_benchmark.c
+++ b/
tools/testing/selftests/vm/gup_benchmark.c
@@
-60,6
+60,7
@@
int main(int argc, char **argv)
break;
case 'w':
write = 1;
+ break;
default:
return -1;
}