diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-06-17 22:15:14 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-08-09 05:37:20 +0300 |
commit | c81ce28df500b04444ef97dc82a7b0299ce717e8 (patch) | |
tree | e7987013cb4c73a500219d7d80eda6b692b030ad /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 91329559eb07c9b12c7ce80e893ad39579c40aa2 (diff) | |
download | linux-c81ce28df500b04444ef97dc82a7b0299ce717e8.tar.xz |
iov_iter_get_pages(): sanity-check arguments
zero maxpages is bogus, but best treated as "just return 0";
NULL pages, OTOH, should be treated as a hard bug.
get rid of now completely useless checks in xarray_get_pages{,_alloc}().
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions