Re: [PATCH 1/2] mm/gup_benchmark: add a missing "w" to getopt string

2019-10-14 Thread Kirill A. Shutemov
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 > pre

[PATCH 1/2] mm/gup_benchmark: add a missing "w" to getopt string

2019-10-13 Thread John Hubbard
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 optio