diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2018-11-02 22:29:43 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2018-11-03 16:10:32 +0100 |
commit | a91ac41b93eff0f3ebd3af3319e8bbcb1fe8d00f (patch) | |
tree | a54d47cb4262088ceea7b0eef487ebac19663220 /libdm/dm-tools | |
parent | 9238b972c543a83fbd553cc44a916608809cfc53 (diff) | |
download | lvm2-a91ac41b93eff0f3ebd3af3319e8bbcb1fe8d00f.tar.gz |
cov: hide intentionaly ptr arithmetic report
Only single region count is ever replaced with on-stack uint64_t.
Diffstat (limited to 'libdm/dm-tools')
-rw-r--r-- | libdm/dm-tools/dmsetup.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |