mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
The exec_regops() API was using a u64 for the num_ops parameter. The lower level APIs used by exec_regops() expect u32s for this value. Update the interface to use u32. This eliminates MISRA Rule 10.3 violations for assignment of objects of different essential or narrower types. JIRA: NVGPU-3023 Change-Id: I5a2a22916f81d8b3d882d224d07eedffcde1e3ee Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2084207 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>