mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
Rule 11.3 forbids pointer cast between two different object types. Rule 13.5 doesn't allow right hand operand of a logical operator to have persistent side effects. This patch fixes mentioned rules in nvgpu.common.mm. Jira NVGPU-3864 Change-Id: I08b7fb4d3fb623f14f8760a50648b39b3e53b233 Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2168522 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>