diff options
author | Christoph Hellwig <hch@lst.de> | 2024-06-04 16:15:31 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-06-12 14:47:07 -0600 |
commit | 957df9af723ccc570da835978cf7fe7863632842 (patch) | |
tree | 9a2bd7308508fb55c68a3ab00b20ef133076f0b5 /tools/perf/scripts/python/syscall-counts.py | |
parent | e038ee6189842e9662d2fc59d09dbcf48350cf99 (diff) |
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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions