public inbox for virtualization@lists.linux-foundation.org
 help / color / mirror / Atom feed
* Re: [PATCH] virtio_blk: use UINT_MAX instead of -1U
       [not found] <20221110030124.1986-1-angus.chen@jaguarmicro.com>
@ 2022-11-10 20:18 ` Stefan Hajnoczi
  0 siblings, 0 replies; only message in thread
From: Stefan Hajnoczi @ 2022-11-10 20:18 UTC (permalink / raw)
  To: Angus Chen
  Cc: axboe, mst, linux-kernel, virtualization, linux-block, pbonzini


[-- Attachment #1.1: Type: text/plain, Size: 442 bytes --]

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@jaguarmicro.com>
> ---
>  drivers/block/virtio_blk.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 183 bytes --]

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-10 20:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20221110030124.1986-1-angus.chen@jaguarmicro.com>
2022-11-10 20:18 ` [PATCH] virtio_blk: use UINT_MAX instead of -1U Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox