[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c06737ab-66d1-77bd-7afa-0a23cbe6aeef@nvidia.com>
Date: Tue, 20 Dec 2022 22:56:00 +0000
From: Chaitanya Kulkarni <chaitanyak@...dia.com>
To: "Michael S. Tsirkin" <mst@...hat.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: Jens Axboe <axboe@...nel.dk>,
"virtualization@...ts.linux-foundation.org"
<virtualization@...ts.linux-foundation.org>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
Stefan Hajnoczi <stefanha@...hat.com>,
Paolo Bonzini <pbonzini@...hat.com>
Subject: Re: [PATCH] virtio_blk: zone append in header type tweak
On 12/20/22 04:52, Michael S. Tsirkin wrote:
> virtio blk returns a 64 bit append_sector in an input buffer,
> in LE format. This field is not tagged as LE correctly, so
> even though the generated code is ok, we get warnings from sparse:
>
> drivers/block/virtio_blk.c:332:33: sparse: sparse: cast to restricted __le64
>
> Make sparse happy by using the correct type.
>
Reviewed-by: Chaitanya Kulkarni <kch@...dia.com>
-ck
Powered by blists - more mailing lists