From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 12 Sep 2019 16:41:02 +0200 Subject: [U-Boot] [PATCH 2/3] ubi: Print skip_check in ubi_dump_vol_info() In-Reply-To: <20190912144103.17261-1-sr@denx.de> References: <20190912144103.17261-1-sr@denx.de> Message-ID: <20190912144103.17261-2-sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de It might be interesting, if "skip_check" is set of not, so lets print this flag in ubi_dump_vol_info() as well. Signed-off-by: Stefan Roese Cc: Quentin Schulz Cc: Boris Brezillon Cc: Heiko Schocher --- drivers/mtd/ubi/debug.c | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.23.0