[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175077669906.72735.6561579879572890372.b4-ty@kernel.dk>
Date: Tue, 24 Jun 2025 08:51:39 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Ming Lei <ming.lei@...hat.com>,
Caleb Sander Mateos <csander@...estorage.com>
Cc: Uday Shankar <ushankar@...estorage.com>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ublk: fix narrowing warnings in UAPI header
On Sat, 21 Jun 2025 10:28:41 -0600, Caleb Sander Mateos wrote:
> When a C++ file compiled with -Wc++11-narrowing includes the UAPI header
> linux/ublk_cmd.h, ublk_sqe_addr_to_auto_buf_reg()'s assignments of u64
> values to u8, u16, and u32 fields result in compiler warnings. Add
> explicit casts to the intended types to avoid these warnings. Drop the
> unnecessary bitmasks.
>
>
> [...]
Applied, thanks!
[1/1] ublk: fix narrowing warnings in UAPI header
commit: 03912ca894e4e5d6499bc57e9f10dda9f0965c1d
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists