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] [thread-next>] [day] [month] [year] [list]
Message-ID: <e00151ee-8579-4763-838c-7b4c894fc95b@kernel.org>
Date: Thu, 8 May 2025 17:31:05 +0900
From: Damien Le Moal <dlemoal@...nel.org>
To: Aaron Lu <ziqianlu@...edance.com>, Jens Axboe <axboe@...nel.dk>
Cc: Kexin Wei <ys.weikexin@....com>, linux-block@...r.kernel.org,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] block: remove test of incorrect io priority level

On 5/8/25 5:30 PM, Aaron Lu wrote:
> Ever since commit eca2040972b4("scsi: block: ioprio: Clean up interface
> definition"), the macro IOPRIO_PRIO_LEVEL() will mask the level value to
> something between 0 and 7 so necessarily, level will always be lower than
> IOPRIO_NR_LEVELS(8).
> 
> Remove this obsolete check.
> 
> Reported-by: Kexin Wei <ys.weikexin@....com>
> Cc: Damien Le Moal <dlemoal@...nel.org>
> Signed-off-by: Aaron Lu <ziqianlu@...edance.com>

Looks good.

Reviewed-by: Damien Le Moal <dlemoal@...nel.org>

-- 
Damien Le Moal
Western Digital Research

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ