mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
This patch fixes the below misra violation. kernel/nvgpu/drivers/gpu/nvgpu/hal/fifo/ctxsw_timeout_gv11b_fusa.c:209 Checker: MISRA C-2012 Rule 10.7 (Required) kernel/nvgpu/drivers/gpu/nvgpu/hal/fifo/ctxsw_timeout_gv11b_fusa.c:209: 1. misra_c_2012_rule_10_7_violation: The width of the composite expression "1U << 0U + active_eng_id * 1U" (8 bits) is less that the left hand operand "ctxsw_timeout_engines" (32 bits). Jira NVGPU-3881 Change-Id: I4b48ee224a014734d55d24d0c5865eda26d5b920 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2196114 Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Thomas Fleury <tfleury@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Ankur Kishore <ankkishore@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>