summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDylan Yudaken <dylany@fb.com>2022-04-21 12:13:42 +0300
committerJens Axboe <axboe@kernel.dk>2022-04-25 03:18:18 +0300
commit3e813c9026720c1291ef3c91caa2e26f88e28367 (patch)
tree6fd7dbdff551cddfb0f36ea9c13355a4cbd83a1b /scripts/gdb/linux/utils.py
parent08dcd0288f6ecb97bc94260856e6b44cca4149e2 (diff)
downloadlinux-3e813c9026720c1291ef3c91caa2e26f88e28367.tar.xz
io_uring: rework io_uring_enter to simplify return value
io_uring_enter returns the count submitted preferrably over an error code. In some code paths this check is not required, so reorganise the code so that the check is only done as needed. This is also a prep for returning error codes only in waiting scenarios. Signed-off-by: Dylan Yudaken <dylany@fb.com> Link: https://lore.kernel.org/r/20220421091345.2115755-4-dylany@fb.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions