Re: [PATCH] spi: mpc52xx: fix use-after-free on registration failure

From: Mark Brown

Date: Wed Apr 22 2026 - 13:13:08 EST


On Wed, Apr 22, 2026 at 05:41:32PM +0200, Johan Hovold wrote:
> On Tue, Apr 21, 2026 at 02:58:00PM +0200, Johan Hovold wrote:
> > Make sure to disable and free the interrupts in case controller
> > registration fails to avoid a potential use-after-free and resource
> > leak.

> This one will need another spin to address some further pre-existing
> issues flagged by Sashiko.

Please do an incremental change, it's already in CI with some merges on
top of it.

Attachment: signature.asc
Description: PGP signature