diff options
author | Caleb Sander Mateos <csander@purestorage.com> | 2025-04-30 16:52:29 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-05-02 09:22:30 -0600 |
commit | 2a86eec6396ff6d40e46d5cc11f99f1e7bbec78e (patch) | |
tree | 926f80e78a9a6ec014c2a2dbe8dfe4d6a94f653d /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | |
parent | 5a43d93588dca88af0333ce18dedcfb0276ec4fe (diff) |
ublk: take const ubq pointer in ublk_get_iod()
ublk_get_iod() doesn't modify the struct ublk_queue it is passed.
Clarify that by making the argument a const pointer.
Move the function definition earlier in the file so it doesn't need a
forward declaration.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250430225234.2676781-5-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions