On Sun, Oct 13, 2019 at 03:11:54PM -0700, John Hubbard wrote: > Even though gup_benchmark.c has code to handle the -w > command-line option, the "w" is not part of the getopt > string. It looks as if it has been missing the whole time. > > On my machine, this leads naturally to the following > predictable result: > > $ sudo ./gup_benchmark -w > ./gup_benchmark: invalid option -- 'w' > > ...which is fixed, with this commit. > > Cc: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> > Cc: Keith Busch <keith.busch@xxxxxxxxx> > Cc: Shuah Khan <shuah@xxxxxxxxxx> > Cc: linux-kselftest@xxxxxxxxxxxxxxx > Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx> Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> -- Kirill A. Shutemov