diff options
| author | Chengguang Xu <[email protected]> | 2018-06-07 17:05:03 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-06-07 17:34:34 -0700 |
| commit | 8d856c72b42d585fb17a8aa18454e03a0cf9b2b8 (patch) | |
| tree | ac1346d6c3165b36b801e5c293766bf0ed712cc2 /tools/perf/scripts/python/syscall-counts.py | |
| parent | c6137fe36d2ac160d919bf97bc3dfd6494b0b471 (diff) | |
net/9p: detect invalid options as much as possible
Currently when detecting invalid options in option parsing, some
options(e.g. msize) just set errno and allow to continuously validate
other options so that it can detect invalid options as much as possible
and give proper error messages together.
This patch applies same rule to option 'trans' and 'version' when
detecting -EINVAL.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Chengguang Xu <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Eric Van Hensbergen <[email protected]>
Cc: Ron Minnich <[email protected]>
Cc: Latchesar Ionkov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions