From f45762d032a19298030ac6c5f537406580e5c9f1 Mon Sep 17 00:00:00 2001 From: srajum Date: Wed, 27 Oct 2021 00:59:57 +0530 Subject: [PATCH] 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 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 Reviewed-by: svc-mobile-misra Reviewed-by: svc-mobile-cert Reviewed-by: Rajesh Devaraj Reviewed-by: Ankur Kishore GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/common/mm/allocators/bitmap_allocator.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/nvgpu/common/mm/allocators/bitmap_allocator.c b/drivers/gpu/nvgpu/common/mm/allocators/bitmap_allocator.c index 62582243e..febb11c2b 100644 --- a/drivers/gpu/nvgpu/common/mm/allocators/bitmap_allocator.c +++ b/drivers/gpu/nvgpu/common/mm/allocators/bitmap_allocator.c @@ -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,