From: Jens Axboe <axboe@kernel.dk>
To: Thomas Fourier <fourier.thomas@gmail.com>,
Dan Carpenter <dan.carpenter@linaro.org>
Cc: "Md. Haris Iqbal" <haris.iqbal@ionos.com>,
Jack Wang <jinpu.wang@ionos.com>,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: Re: [PATCH next] block: rnbd-clt: Fix signedness bug in init_dev()
Date: Sat, 20 Dec 2025 13:25:47 -0700 [thread overview]
Message-ID: <176626234708.413702.6669635606958101937.b4-ty@kernel.dk> (raw)
In-Reply-To: <aUZiUjcgaOue4j9S@stanley.mountain>
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
prev parent reply other threads:[~2025-12-20 20:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-20 8:46 [PATCH next] block: rnbd-clt: Fix signedness bug in init_dev() Dan Carpenter
2025-12-20 20:25 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=176626234708.413702.6669635606958101937.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=dan.carpenter@linaro.org \
--cc=fourier.thomas@gmail.com \
--cc=haris.iqbal@ionos.com \
--cc=jinpu.wang@ionos.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox