mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cov: hide intentionaly ptr arithmetic report
Only single region count is ever replaced with on-stack uint64_t.
This commit is contained in:
parent
9238b972c5
commit
a91ac41b93
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user