[PATCH net-next 2/3] net: airoha: Add airoha_ppe_dev struct definition
Jakub Kicinski
kuba at kernel.org
Fri Aug 22 07:38:38 PDT 2025
On Fri, 22 Aug 2025 16:26:06 +0200 Lorenzo Bianconi wrote:
> > > I moved the of_node_put() here (and in the if branch) in order to fix a similar
> > > issue fixed by Alok for airoha_npu.
> >
> > Ah, didn't notice it in the print..
> > maybe remove the empty line between the of_find_device.. and the null
> > check on pdev then?
>
> I am fine with it. I did it this way just to be consistent with NPU code:
> https://github.com/torvalds/linux/blob/master/drivers/net/ethernet/airoha/airoha_npu.c#L403
> Do you want me to post v3?
Nah, it's fine.
More information about the Linux-mediatek
mailing list