diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-12-20 11:46:10 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-12-20 12:56:48 -0700 |
| commit | 1ddb815fdfd45613c32e9bd1f7137428f298e541 (patch) | |
| tree | 945e2509090b0eea1fee9688019dd5165134d4b3 /Documentation/process/debugging/userspace_debugging_guide.rst | |
| parent | daa24603d9f0808929514ee62ced30052ca7221c (diff) | |
block: rnbd-clt: Fix signedness bug in init_dev()
The "dev->clt_device_id" variable is set using ida_alloc_max() which
returns an int and in particular it returns negative error codes.
Change the type from u32 to int to fix the error checking.
Fixes: c9b5645fd8ca ("block: rnbd-clt: Fix leaked ID in init_dev()")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/process/debugging/userspace_debugging_guide.rst')
0 files changed, 0 insertions, 0 deletions
