Messages in this thread | | | Subject | Re: [PATCH][next] scsi: mpt3sas: Replace unnecessary dynamic allocation with a static one | From | "Gustavo A. R. Silva" <> | Date | Tue, 16 Mar 2021 21:41:08 -0500 |
| |
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
| |