diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-11-23 00:07:48 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-23 12:24:20 -0700 |
commit | f3251183b298912e09297cb22614361c63122e82 (patch) | |
tree | af7a78077cf88b976ebcc5a10521f6dd14f6808e /scripts/gdb/linux/tasks.py | |
parent | 7297ce3d59449de49d3c9e1f64ae25488750a1fc (diff) |
io_uring: clean __io_import_iovec()
Apparently, implicit 0 to NULL conversion with ERR_PTR is not
recommended and makes some tooling like Smatch to complain. Handle it
explicitly, compilers are perfectly capable to optimise it out.
Link: https://lore.kernel.org/all/20211108134937.GA2863@kili/
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/5c6ed369ad95075dab345df679f8677b8fe66656.1637524285.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions