Re: [PATCHv3 ath-next] wifi: ath11k: use kzalloc_flex

Jeff Johnson <[email protected]> Mon, 01 Jun 2026 10:00:28 -0700
Newsgroups org.infradead.lists.ath11k,org.kernel.vger.linux-hardening,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless
Message-ID <[email protected]>
On Tue, 28 Apr 2026 13:50:17 -0700, 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 before any potential accesses.
> kzalloc_flex does this anyway for GCC >= 15.
> 
> 
> [...]

Applied, thanks!

[1/1] wifi: ath11k: use kzalloc_flex
      commit: c7427f297ddb01f593217c21b2416f1093b80194

Best regards,
-- 
Jeff Johnson <[email protected]>