[PATCH 4/4] mtd: spi-nor: drop superfluous debug prints
Michael Walle
michael at walle.cc
Mon Dec 18 04:14:52 PST 2023
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 at linaro.org>
With the above and the unused variables fixed:
Reviewed-by: Michael Walle <michael at walle.cc>
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
More information about the linux-mtd
mailing list