From: Stefan Roese Date: Thu, 12 Sep 2019 14:41:02 +0000 (+0200) Subject: ubi: Print skip_check in ubi_dump_vol_info() X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=524acec47cda4cfab66229e62d0d252b75fef297;p=u-boot.git 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. hs: fix typo in commit message Signed-off-by: Stefan Roese Cc: Quentin Schulz Cc: Boris Brezillon Cc: Heiko Schocher Reviewed-by: Heiko Schocher --- diff --git a/drivers/mtd/ubi/debug.c b/drivers/mtd/ubi/debug.c index 0a7427522c..f3d348da83 100644 --- a/drivers/mtd/ubi/debug.c +++ b/drivers/mtd/ubi/debug.c @@ -109,6 +109,7 @@ void ubi_dump_vol_info(const struct ubi_volume *vol) printf("\tlast_eb_bytes %d\n", vol->last_eb_bytes); printf("\tcorrupted %d\n", vol->corrupted); printf("\tupd_marker %d\n", vol->upd_marker); + printf("\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) {