mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
Remove const from __mptr declaration to fix EXP40-C violation. cert_exp40_c_violation: Casting pointer "__mptr" with type "struct nvgpu_clk_dev const *" to type "char *" allows an object defined with a const-qualified type to be modified through use of an lvalue with non-const-qualified type Considering implementation of container_of() a const is not required. JIRA NVGPU-3908 JIRA NVGPU-3561 Change-Id: Ie94c3f994a962124afcda49a178a72c9b87ba7c7 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2195032 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>