[PATCHv2] phy: mediatek: tphy: simplify main allocation

Manivannan Sadhasivam mani at kernel.org
Mon Oct 12 01:51:47 PDT 2026


On Wed, Aug 12, 2026 at 11:18:57AM -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 first.
> 
> Removed NULL check from of_get_match_data as it's never NULL per the
> device table.
> 

This statement is stale in v2 :(

- Mani

-- 
மணிவண்ணன் சதாசிவம்



More information about the linux-arm-kernel mailing list