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: <62fa8461-23d3-5602-2897-f2b28344bedf@embeddedor.com>
Date:   Tue, 16 Mar 2021 21:41:08 -0500
From:   "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To:     "Martin K. Petersen" <martin.petersen@...cle.com>,
        "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc:     Sathya Prakash <sathya.prakash@...adcom.com>,
        Sreekanth Reddy <sreekanth.reddy@...adcom.com>,
        Suganath Prabu Subramani 
        <suganath-prabu.subramani@...adcom.com>,
        "James E.J. Bottomley" <jejb@...ux.ibm.com>,
        MPT-FusionLinux.pdl@...adcom.com, linux-scsi@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH][next] scsi: mpt3sas: Replace unnecessary dynamic
 allocation with a static one

Hi Martin,

On 3/16/21 22:32, Martin K. Petersen wrote:
> 
> Gustavo,
> 
>> Dynamic memory allocation isn't actually needed and it can be replaced
>> by statically allocating memory for struct object io_unit_pg3 with 36
>> hardcoded entries for its GPIOVal array.
> 
> Applied to 5.13/scsi-staging, thanks!

Awesome. :)

I wonder if you can take a look at this one, too, please:

https://lore.kernel.org/lkml/20210304203822.GA102218@embeddedor/

Thanks!
--
Gustavo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ