[PATCH] bus: fsl-mc: Cope for unbound devices in fsl_mc_shutdown
Uwe Kleine-König
u.kleine-koenig at baylibre.com
Wed Dec 10 01:44:34 AEDT 2025
On Tue, Dec 09, 2025 at 01:05:50PM +0100, Christophe Leroy (CS GROUP) wrote:
>
>
> Le 09/12/2025 à 12:59, Uwe Kleine-König a écrit :
> > Other than a driver's shutdown callback the bus shutdown callback is
> > also called for unbound drivers. So check for the device being bound
> > before following the pointer to its driver.
> >
> > Fixes: ef980bda574d ("bus: fsl-mc: Convert to bus callbacks")
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
> > ---
> > Hello,
> >
> > I pointed out this issue a few days ago in the thread that resulted in
> > commit ef980bda574d, but didn't receive a reaction so far. Given that
> > ef980bda574d is contained in next, I guess it's time for a proper patch
> > to fix the issue. Here it is.
>
> Thanks for the fixup.
>
> Nobody reacted against what you pointed out a few days ago so I guess this
> fix is OK.
Always the optimist, I think it means nobody bothered :-)
> Unless you mind I will squash it into previous patch to avoid having to
> manage the Fixes: tag update when I rebase to 6.19rc1
No objection from my side.
Best regards
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20251209/73cb1d6d/attachment.sig>
More information about the Linuxppc-dev
mailing list