[PATCH v2] wifi: ath11k: Fix ath11k_htc_record flexible record

Kees Cook keescook at chromium.org
Wed Dec 6 12:55:01 PST 2023


On Tue, Dec 05, 2023 at 01:00:17PM -0800, Jeff Johnson wrote:
> Transform the zero-length ath11k_htc_record::credit_report array into
> a proper flexible array. Since this is the only array in
> ath11k_htc_record, remove the unnecessary union.
> 
> Signed-off-by: Jeff Johnson <quic_jjohnson at quicinc.com>

Heh, looks good. I wonder why this was a union to begin with?

Reviewed-by: Kees Cook <keescook at chromium.org>

-- 
Kees Cook



More information about the ath11k mailing list