Files
linux-nvgpu/drivers/gpu/nvgpu/hal
Thomas Fleury 62aa562cfb gpu: nvgpu: fix MISRA 16.x violations in nvgpu.hal.mm.mm
MISRA mandates switch clauses to end with an unconditional break
statement. Refactor switch/case in gv100_mm_get_flush_retries
function to set retries in each clause, then return result
at the end of the function.

Refactoring of the switch/case solves MISRA 16.1, 16.3 and 16.6
violations.

Jira NVGPU-3314

Change-Id: Ie051a8f2df805b63a7bef6a55fea3ae011603a0e
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2118887
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2019-05-14 18:40:52 -07:00
..
2019-04-30 02:47:37 -07:00
2019-05-06 13:15:54 -07:00
2019-05-14 04:56:34 -07:00
2019-05-10 11:42:52 -07:00
2019-04-30 02:47:37 -07:00