Re: [PATCH] bus: mhi: use kzalloc_flex
Manivannan Sadhasivam <[email protected]> Mon, 16 Mar 2026 09:36:46 +0530
| Newsgroups | dev.linux.lists.mhi,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-hardening,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 11 Mar 2026 21:59:21 -0700, Rosen Penev wrote:
> Change kzalloc + kcalloc to just kzalloc with a flexible array member.
>
> Add __counted_by for extra runtime analysis when requested.
>
> Move counting assignment immediately after allocation as required by
> __counted_by.
>
> [...]
Applied, thanks!
[1/1] bus: mhi: use kzalloc_flex
commit: 2f5ae4827e94955ad3a9757e06da90a5ebc4cc6b
Best regards,
--
Manivannan Sadhasivam <[email protected]>