mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-03 17:47:44 +03:00
cov: hide intentionaly ptr arithmetic report
Only single region count is ever replaced with on-stack uint64_t. (cherry picked from commit a91ac41b93eff0f3ebd3af3319e8bbcb1fe8d00f)
This commit is contained in:
parent
93ac80037a
commit
e4bb94a93e
@ -5241,6 +5241,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…
x
Reference in New Issue
Block a user