mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
Fix MISRA rule 13.5 violation for using a function that has side effects as the right hand side of a logical expression. In this case, is_iommuable() can have side effects in some OS implementations. JIRA NVGPU-3340 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Change-Id: If465f68fce0e9d6d8ef98564229eebd112b28f29 Reviewed-on: https://git-master.nvidia.com/r/2120490 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@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>