From a91ac41b93eff0f3ebd3af3319e8bbcb1fe8d00f Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 2 Nov 2018 22:29:43 +0100 Subject: [PATCH] cov: hide intentionaly ptr arithmetic report Only single region count is ever replaced with on-stack uint64_t. --- libdm/dm-tools/dmsetup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libdm/dm-tools/dmsetup.c b/libdm/dm-tools/dmsetup.c index 93714ac1e..4b14a237b 100644 --- a/libdm/dm-tools/dmsetup.c +++ b/libdm/dm-tools/dmsetup.c @@ -5245,6 +5245,7 @@ static int _do_stats_create_regions(struct dm_stats *dms, */ this_start = (segments) ? segment_start : start; this_len = (segments) ? segment_len : this_len; + /* coverity[ptr_arith] intentional */ if (!(r = dm_stats_create_region(dms, ®ion_ids[count], this_start, this_len, step, precise, bounds,