Hello, Miquel Raynal <miquel.raynal at bootlin.com> wrote on Sat, 21 Apr 2018 20:00:33 +0200: > nand_release() should not be called on an MTD device that has not been > registered. While it should work thanks to the checks done in > mtd_device_unregister() it's a bad practice to cleanup/release > something that has not previously been initialized/allocated. > > Rework the error path to follow this rule. > > Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com> > --- This patch is marked applied in patchwork while it is not present anywhere in the official trees and has probably been forgotten. Applied on nand/next. Regards, Miqu?l