summaryrefslogtreecommitdiffstats
path: root/io_uring
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-06-04 16:15:31 -0600
committerJens Axboe <axboe@kernel.dk>2024-06-12 14:47:07 -0600
commit957df9af723ccc570da835978cf7fe7863632842 (patch)
tree9a2bd7308508fb55c68a3ab00b20ef133076f0b5 /io_uring
parente038ee6189842e9662d2fc59d09dbcf48350cf99 (diff)
downloadlinux-957df9af723ccc570da835978cf7fe7863632842.tar.gz
linux-957df9af723ccc570da835978cf7fe7863632842.tar.bz2
linux-957df9af723ccc570da835978cf7fe7863632842.zip
nbd: Remove __force casts
Make it again possible for sparse to verify that blk_status_t and Unix error codes are used in the proper context by making nbd_send_cmd() return a blk_status_t instead of an integer. No functionality has been changed. Signed-off-by: Christoph Hellwig <hch@lst.de> [ bvanassche: added description and made two small formatting changes ] Signed-off-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Link: https://lore.kernel.org/r/20240604221531.327131-1-bvanassche@acm.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions