Re: [net-next v10 4/7] net: mtip: The L2 switch driver for imx287

Jakub Kicinski
2025-05-05T20:18:28Z

On Sun, 4 May 2025 08:28:11 +0200 Lukasz Majewski wrote:
> > Now that basic build is green the series has advanced to full testing,
> > where coccicheck says:
> >
> > drivers/net/ethernet/freescale/mtipsw/mtipl2sw.c:1961:1-6: WARNING:
> > invalid free of devm_ allocated data
> > drivers/net/ethernet/freescale/mtipsw/mtipl2sw.c:1237:16-19: ERROR:
> > bus is NULL but dereferenced.
>
> I'm sorry for not checking the code with coccinelle.
>
> I do have already used sparse and checkpatch.

No worries. Not testing a build W=1 is a bit of a faux pas.
But coccinelle is finicky and slow.