mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
MISRA Advisory Directive 4.5 states that identifiers in the same name space with overlapping visibility should be typographically ambiguous. The use of both ASSERT_CONCAT() and ASSERT_CONCAT_() macros in the implementation of the nvgpu_static_assert() macro violates this directive. This change switches ASSERT_CONCAT() to ASSERT_ADD_INFO() and ASSERT_CONCAT_() to ASSERT_CONCAT() to eliminate the violation. Jira NVGPU-3178 Change-Id: I2bf232f3b49267f2f9a211d614969cfc60d3983d Signed-off-by: Scott Long <scottl@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2270893 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Adeel Raza <araza@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>