Re: [PATCH][next] scsi: mpt3sas: Replace unnecessary dynamic allocation with a static one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 10 Mar 2021 17:59:51 -0600, Gustavo A. R. Silva wrote:

> 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.
> 
> Also, this helps the with ongoing efforts to enable -Warray-bounds
> by fixing the following warning:
> 
> [...]

Applied to 5.13/scsi-queue, thanks!

[1/1] scsi: mpt3sas: Replace unnecessary dynamic allocation with a static one
      https://git.kernel.org/mkp/scsi/c/a1c4d7741323

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux