Skip to contentSkip to conversation

ubi: Print skip_check in ubi_dump_vol_info()

PATCH New Stefan Roese 1 participant 1 message Sep 17, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ubi: Print skip_check in ubi_dump_vol_info()

It might be interesting, if "skip_check" is set or not, so lets print this flag in ubi_dump_vol_info() as well.

Cc Richard Weinberger <[email protected]>
Cc Boris Brezillon <[email protected]>
Cc Heiko Schocher <[email protected]>
---
 drivers/mtd/ubi/debug.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/ubi/debug.c +1 -0
index a1dff92ceedf..72808a5c4b62 100644
@@ -107,6 +107,7 @@ void ubi_dump_vol_info(const struct ubi_volume *vol)
 	pr_err("\tlast_eb_bytes   %d\n", vol->last_eb_bytes);
 	pr_err("\tcorrupted       %d\n", vol->corrupted);
 	pr_err("\tupd_marker      %d\n", vol->upd_marker);
+	pr_err("\tskip_check      %d\n", vol->skip_check);
 
 	if (vol->name_len <= UBI_VOL_NAME_MAX &&
 	    strnlen(vol->name, vol->name_len + 1) == vol->name_len) {
Signature · 6 lines
2.23.0


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/