Re: [PATCH 4/4] mtd: spi-nor: drop superfluous debug prints
From: Michael Walle
Date: Mon Dec 18 2023 - 07:16:04 EST
Am 2023-12-15 09:21, schrieb Tudor Ambarus:
The mtd data hall be obtained with the mtd ioctls or with new debugs
shall, debugfs
entries if one cares. Drop the debug prints.
Signed-off-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxx>
With the above and the unused variables fixed:
Reviewed-by: Michael Walle <michael@xxxxxxxx>
Miquel raised a valid point that if the rootfs is on this very
flash and if there is an error, you cannot use debugfs or the
ioctls. But I doubt that the info about the erase regions will
help much in that case.
-michael