[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y21cnhr1q6e6oNhp@fedora>
Date: Thu, 10 Nov 2022 15:18:38 -0500
From: Stefan Hajnoczi <stefanha@...hat.com>
To: Angus Chen <angus.chen@...uarmicro.com>
Cc: jasowang@...hat.com, mst@...hat.com, axboe@...nel.dk,
virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
pbonzini@...hat.com
Subject: Re: [PATCH] virtio_blk: use UINT_MAX instead of -1U
On Thu, Nov 10, 2022 at 11:01:23AM +0800, Angus Chen wrote:
> We use UINT_MAX to limit max_discard_sectors in virtblk_probe,
> we can use UINT_MAX to limit max_hw_sectors for consistencies.
>
> No functional change intended.
>
> Signed-off-by: Angus Chen <angus.chen@...uarmicro.com>
> ---
> drivers/block/virtio_blk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <stefanha@...hat.com>
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists