mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
Error: CERT INT30-C: drivers/gpu/nvgpu/common/gr/ctx.c:644: cert_violation: Unsigned integer operation "gr_ctx->patch_ctx.mem.size / 4UL - 2UL" may wrap. Error: CERT INT31-C: drivers/gpu/nvgpu/common/gr/ctx.c:580: cert_violation: Casting "gr_ctx->boosted_ctx" from "bool" to "unsigned int" without checking its value may result in lost or misinterpreted data. JIRA NVGPU-3409 Change-Id: Ib3c865d43ecd3c0eaaafd47b7b65111aa77689bd Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2118521 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>