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: <165153836362.24053.12346613816767008308.b4-ty@oracle.com>
Date:   Mon,  2 May 2022 20:51:44 -0400
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     GR-QLogic-Storage-Upstream@...vell.com,
        Xiaomeng Tong <xiam0nd.tong@...il.com>, jejb@...ux.ibm.com,
        skashyap@...vell.com, jhasan@...vell.com
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [RESEND][PATCH] qedf: remove an unneeded NULL check on list iterator

On Tue, 5 Apr 2022 08:40:55 +0800, Xiaomeng Tong wrote:

> The list iterator 'fcport' is always non-NULL so it doesn't need to be
> checked. Thus just remove the unnecessary NULL check. Also remove the
> unnecessary initializer because the list iterator is always initialized.
> And adjust the position of blank lines.
> 
> 

Applied to 5.19/scsi-queue, thanks!

[1/1] qedf: remove an unneeded NULL check on list iterator
      https://git.kernel.org/mkp/scsi/c/505420bd5543

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ