lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ