[PATCH v3] phy: mediatek: tphy: simplify main allocation
Vinod Koul
vkoul at kernel.org
Thu Nov 12 01:04:24 PST 2026
On Mon, 12 Oct 2026 10:34:02 -0700, Rosen Penev wrote:
> Use a flexible array member to replace kzalloc + kcalloc with a single
> kzalloc.
>
> Shuffled some code around as __counted_by requires the counting variable
> to be assigned before any array access.
>
>
> [...]
Applied, thanks!
[1/1] phy: mediatek: tphy: simplify main allocation
commit: 90ebdb0cbfa1cc1d23fa275ef96897d42b29503b
Best regards,
--
~Vinod
More information about the linux-phy
mailing list