summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-05-18 10:40:01 +0200
committerJens Axboe <axboe@kernel.dk>2022-05-18 06:18:56 -0600
commit984824db844a9bd6e9e15ee469241982526a6ccd (patch)
tree3b3cf90baa77bd113193170443045f6eb3e54d48 /tools/perf/scripts/python/syscall-counts.py
parent20cbd21d899b72765e38481a926c7b2008c64350 (diff)
io_uring: don't use ERR_PTR for user pointers
ERR_PTR abuses the high bits of a pointer to transport error information. This is only safe for kernel pointers and not user pointers. Fix io_buffer_select and its helpers to just return NULL for failure and get rid of this abuse. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20220518084005.3255380-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions