diff options
| author | Pavel Begunkov <[email protected]> | 2024-07-24 11:16:19 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-07-24 14:01:49 +0000 |
| commit | f1dcdfcadb0c8c13dddd931c1f4dc58e54fdc9c0 (patch) | |
| tree | 128b12d1bb885f7b3ec9c46c8ec2eae371831ee6 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
| parent | io_uring: fix io_match_task must_hold (diff) | |
| download | kernel-f1dcdfcadb0c8c13dddd931c1f4dc58e54fdc9c0.tar.gz kernel-f1dcdfcadb0c8c13dddd931c1f4dc58e54fdc9c0.zip | |
io_uring: simplify io_uring_cmd return
We don't have to return error code from an op handler back to core
io_uring, so once io_uring_cmd() sets the results and handles errors we
can juts return IOU_OK and simplify the code.
Note, only valid with e0b23d9953b0c ("io_uring: optimise ltimeout for
inline execution"), there was a problem with iopoll before.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/8eae2be5b2a49236cd5f1dadbd1aa5730e9e2d4f.1721819383.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions
