mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
Fix MISRA error for Rule 14.3 The switch governing value "offset" cannot reach the default case. Execution cannot reach this statement "default:". Change switch statement with if else checking Jira NVGPU-3227 Change-Id: Ib1ccfe2d3bef94ffaf3e0f963bc21260844d0c91 Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2110759 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>