Re: [PATCH ath-next] wifi: ath11k: use kzalloc_flex
Rosen Penev <[email protected]>
| Newsgroups | org.infradead.lists.ath11k,org.kernel.vger.linux-hardening,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless |
|---|---|
| Message-ID | <CAKxU2N--N9psvqkoHetoz+o49ipBxfTT_gP23zA5Wd4p=+nDhw@mail.gmail.com> |
On Tue, Apr 21, 2026 at 4:03 PM Jeff Johnson <[email protected]> wrote: > > On 3/12/2026 5:16 PM, Rosen Penev wrote: > > Convert kzalloc_obj + kcalloc to kzalloc_flex to save an allocation. > > > > Add __counted_by to get extra runtime analysis. Move counting variable > > assignment immediately after allocation as required by __counted_by. > > can you update this like you did for the ath12k patch? Done. >