master - cov: hide intentionaly ptr arithmetic report
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=a91ac41b93eff0f3ebd3af3319e8bbcb1fe8d00f Commit: a91ac41b93eff0f3ebd3af3319e8bbcb1fe8d00f Parent: 9238b972c543a83fbd553cc44a916608809cfc53 Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Nov 2 22:29:43 2018 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Sat Nov 3 16:10:32 2018 +0100
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 files changed, 1 insertions(+), 0 deletions(-)
libdm/dm-tools/dmsetup.c +1 -0
@@ -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,