mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: remove whitelisting for wrongly reported violation by tool
- Earlier we whitelisted wrongly reported static analysis violations by tool, raised coverity tool bugs for these cases. - These bugs are fixed with new version of tool, so no need fo whitelisting. Change-Id: I9ba19e9907905a71ca0eb06c168a061a5f248f84 Signed-off-by: srajum <srajum@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2617012 (cherry picked from commit 4aa2d531d3fd851806b1eb7e2c36cb75923da79c) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2673012 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Rajesh Devaraj <rdevaraj@nvidia.com> Reviewed-by: Ankur Kishore <ankkishore@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
ef2a2be44f
commit
f45762d032
@@ -283,7 +283,6 @@ static u64 nvgpu_bitmap_balloc(struct nvgpu_allocator *na, u64 len)
|
||||
alloc_dbg(na, "Alloc 0x%-10llx 0x%-5llx [bits=0x%x (%u)]",
|
||||
addr, len, blks, blks);
|
||||
|
||||
NVGPU_COV_WHITELIST(false_positive, NVGPU_MISRA(Rule, 14_3), "Bug 2615925")
|
||||
nvgpu_assert(a->nr_allocs < U64_MAX);
|
||||
a->nr_allocs++;
|
||||
a->bytes_alloced = nvgpu_safe_add_u64(a->bytes_alloced,
|
||||
|
||||
Reference in New Issue
Block a user