Re: [PATCH] ASoC: soc-core: start rtd->num_components at zero
From: Mark Brown
Date: Thu Nov 12 2026 - 07:46:10 EST
> Since the conversion to devm_kzalloc_flex(), the allocator sets the
> __counted_by() counter num_components to the allocated length
> (num_cpus + num_codecs + num_platforms). This only happens when the
> compiler supports __builtin_counted_by_ref() (GCC 16 here). With
> older compilers the counter stays zero, as before.
This doesn't apply against current code, I think this is an issue that
was already fixed. Please check and resend if it's still needed.
--
Mark Brown <broonie@xxxxxxxxxx>