Re: [PATCH next] block: rnbd-clt: Fix signedness bug in init_dev()
From: Jens Axboe
Date: Sat Dec 20 2025 - 15:25:49 EST
On Sat, 20 Dec 2025 11:46:10 +0300, Dan Carpenter wrote:
> 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.
>
>
Applied, thanks!
[1/1] block: rnbd-clt: Fix signedness bug in init_dev()
commit: 1ddb815fdfd45613c32e9bd1f7137428f298e541
Best regards,
--
Jens Axboe