Re: Null pointer dereference in mcp251x driver when resuming from sleep

From: Andy Shevchenko
Date: Mon May 03 2021 - 09:44:45 EST


On Mon, May 03, 2021 at 03:11:40PM +0200, Frieder Schrempf wrote:
> Hi,
>
> with kernel 5.10.x and 5.12.x I'm getting a null pointer dereference
> exception from the mcp251x driver when I resume from sleep (see trace
> below).
>
> As far as I can tell this was working fine with 5.4. As I currently don't
> have the time to do further debugging/bisecting, for now I want to at least
> report this here.
>
> Maybe there is someone around who could already give a wild guess for what
> might cause this just by looking at the trace/code!?

Does revert of c7299fea6769 ("spi: Fix spi device unregister flow") help?

--
With Best Regards,
Andy Shevchenko