ubi: Print skip_check in ubi_dump_vol_info()
authorStefan Roese <sr@denx.de>
Thu, 12 Sep 2019 14:41:02 +0000 (16:41 +0200)
committerHeiko Schocher <hs@denx.de>
Wed, 16 Oct 2019 03:42:27 +0000 (05:42 +0200)
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 <sr@denx.de>
Cc: Quentin Schulz <quentin.schulz@bootlin.com>
Cc: Boris Brezillon <boris.brezillon@bootlin.com>
Cc: Heiko Schocher <hs@denx.de>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/mtd/ubi/debug.c

index 0a7427522cd519f3774d0068903fd2052b7071a1..f3d348da833b2cff1dabe23970236eaa7a8425de 100644 (file)
@@ -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) {