mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
Use uintptr_t for for pointer arithmmatic instead of char * to fix following CERT-C violations. cert_exp36_c_violation: Pointer "char *" is more strictly aligned than pointer "struct gk20a_event_id_data_rmos const *". cert_exp36_c_violation: Pointer "struct nvgpu_clk_dev_rmos *" is more strictly aligned than pointer "char *". JIRA NVGPU-3908 JIRA NVGPU-3561 Change-Id: I9d40b3337ed0ddaf172ad4f4c9dd319996d479a1 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2197151 Reviewed-by: Scott Long <scottl@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>