[PATCH 00/14] mtd: Fix platform remove callbacks to always return 0
Miquel Raynal
miquel.raynal at bootlin.com
Tue Jun 7 03:47:46 PDT 2022
Hi Pratyush, Uwe,
p.yadav at ti.com wrote on Tue, 7 Jun 2022 15:02:36 +0530:
> Hi Miquel,
>
> On 06/06/22 03:18PM, Miquel Raynal wrote:
> > Hi Folks,
> >
> > u.kleine-koenig at pengutronix.de wrote on Fri, 3 Jun 2022 23:07:44 +0200:
> >
> > > Hello,
> > >
> > > this series prepares to make platform remove callbacks return void.
> > > Therefor first update them to always return 0. The rationale is that the
> > > Linux device model doesn't handle failures on remove and if a remove
> > > callback returns an error, it just emits a quite generic error message
> > > and still removes the device.
> >
> > Tudor, Pratyush, Richard, Vignesh,
> >
> > The series looks good to me (besides the atmel patch), I think it's
> > best to take it directly through mtd/next instead of going through all
> > the different internal branches, please let me know if you disagree
> > with the idea.
>
> Patch 2 does not look good to me. It modifies the aspeed-smc driver in
> drivers/mtd/spi-nor/controllers/ but the driver has been moved to
> drivers/spi/ in Mark's next branch [0]. The patch would likely conflict
> with that.
>
> [0] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit?id=9c63b846e6df43e5b3d31263f7db545f32deeda3
Right, I believe Uwe is sending per-subsystems series so now that he is
aware we can safely drop patch 2.
Thanks,
Miquèl
More information about the linux-arm-kernel
mailing list