mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
This change eliminates MISRA Advisory Rule 18.4 violations in the following by accessing g->fifo.channel with array indexing: * nvgpu_channel_init_support() * nvgpu_channel_semaphore_wakeup() Advisory Rule 18.4 states that the +, -, +=, and -= operators should not be applied to an expression of pointer type. JIRA NVGPU-3798 Change-Id: I6b1bf360db6ec25894cc0ea430c33067e0cddf64 Signed-off-by: Scott Long <scottl@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2207550 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>