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: <Y9FlcO54LWVYRuGm@ubun2204.myguest.virtualbox.org>
Date:   Wed, 25 Jan 2023 22:52:56 +0530
From:   Deepak R Varma <drv@...lo.com>
To:     Nilesh Javali <njavali@...vell.com>,
        GR-QLogic-Storage-Upstream@...vell.com,
        "James E.J. Bottomley" <jejb@...ux.ibm.com>,
        "Martin K. Petersen" <martin.petersen@...cle.com>,
        linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Cc:     Saurabh Singh Sengar <ssengar@...rosoft.com>,
        Praveen Kumar <kumarpraveen@...ux.microsoft.com>
Subject: Re: [PATCH] scsi: qla2xxx: Use a variable instead of repeated
 computations

On Wed, Jan 25, 2023 at 10:17:54PM +0530, Deepak R Varma wrote:
> Use a variable to upfront compute memory size to be allocated, instead
> of repeatedly computing it at different instructions.  The reduced
> length of lines also allows to tidy up the code.
> Issue identified using the array_size_dup Coccinelle semantic patch.
> 
> Signed-off-by: Deepak R Varma <drv@...lo.com>
> ---

Please ignore this duplicate patch. I got this from a wrong/old branch. My
apologies for the inconvenience.

./drv


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ