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: <158821297687.28621.4212963275967150101.b4-ty@oracle.com>
Date:   Wed, 29 Apr 2020 22:18:04 -0400
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     aacraid@...rosemi.com, jejb@...ux.ibm.com,
        linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
        Xiongfeng Wang <wangxiongfeng2@...wei.com>
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>
Subject: Re: [PATCH] scsi: dpt_i2o: Remove always false 'chan < 0' statement

On Wed, 29 Apr 2020 20:10:18 +0800, Xiongfeng Wang wrote:

> The channel index is represented by an unsigned variable 'u32 chan'. We
> don't need to check whether it is less than zero. The following
> statement is always false and let's remove it.
> 	'chan < 0'

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: dpt_i2o: Remove always false 'chan < 0' statement
      https://git.kernel.org/mkp/scsi/c/6f41f08c88c5

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ