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

Manivannan Sadhasivam mani at kernel.org
Thu Aug 13 06:40:11 PDT 2026


On Wed, Aug 12, 2026 at 11:15:43AM -0700, Rosen Penev wrote:
> On Wed, Aug 12, 2026 at 6:32 AM Manivannan Sadhasivam <mani at kernel.org> wrote:
> >
> > On Tue, Mar 03, 2026 at 08:14:00PM -0800, 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.
> > >
> >
> > Please do not combine multiple fixes in a single patch. Also, the NULL check can
> > be kept for the case of sanity as it wouldn't hurt.
> hmm? There are no fixes here. Just a FAM conversion.

Doesn't matter. A patch should do only one thing.

- Mani

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



More information about the linux-arm-kernel mailing list