mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
MISRA rule 10.6 does not allow assigning of composite expression to an object with wider essential type. Fix 10.6 violations in nvlink code by changing the data-type or by type-casting. JIRA NVGPU-1921 Change-Id: I2d661ca7960e49ebc062c4eb8817004f73297cf5 Signed-off-by: Tejal Kudav <tkudav@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2022881 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>