aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-05-18 10:40:01 +0200
committerJens Axboe <[email protected]>2022-05-18 06:18:56 -0600
commit984824db844a9bd6e9e15ee469241982526a6ccd (patch)
tree3b3cf90baa77bd113193170443045f6eb3e54d48 /scripts/gdb/linux/utils.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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions