diff options
author | 2022-06-17 15:15:14 -0400 | |
---|---|---|
committer | 2022-08-08 22:37:20 -0400 | |
commit | c81ce28df500b04444ef97dc82a7b0299ce717e8 (patch) | |
tree | e7987013cb4c73a500219d7d80eda6b692b030ad /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iov_iter_get_pages_alloc(): lift freeing pages array on failure exits into wrapper (diff) | |
download | linux-dev-c81ce28df500b04444ef97dc82a7b0299ce717e8.tar.xz linux-dev-c81ce28df500b04444ef97dc82a7b0299ce717e8.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions