[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174324946362.1614213.12674397297873310075.b4-ty@kernel.dk>
Date: Sat, 29 Mar 2025 05:57:43 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Ming Lei <ming.lei@...hat.com>, Shuah Khan <shuah@...nel.org>,
Caleb Sander Mateos <csander@...estorage.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org
Subject: Re: [PATCH 0/2] ublk: specify io_cmd_buf pointer type
On Fri, 28 Mar 2025 13:42:28 -0600, Caleb Sander Mateos wrote:
> io_cmd_buf points to an array of ublksrv_io_desc structs but its type is
> char *. Indexing the array requires an explicit multiplication and cast.
> The compiler also can't check the pointer types.
>
> Change io_cmd_buf's type to struct ublksrv_io_desc * so it can be
> indexed directly and the compiler can type-check the code.
>
> [...]
Applied, thanks!
[1/2] ublk: specify io_cmd_buf pointer type
commit: 9a45714fc51321ea8f5e5567f70e06753a848f62
[2/2] selftests: ublk: specify io_cmd_buf pointer type
commit: 25aaa81371e7db34ddb42c69ed4f6c5bc8de2afa
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists