gpu: nvgpu: mm: fix MISRA 16.4 in dma.c

MISRA Rule 16.4 requires a comment or statement in the default lable.
This moves a comment in nvgpu_dma_free(0 before the break to be
compliant.

JIRA NVGPU-3328

Change-Id: Ic4293f486c35eb6396a508508d43d53311fc693c
Signed-off-by: Philip Elcan <pelcan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2119647
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>
This commit is contained in:
Philip Elcan
2019-05-15 13:24:22 -04:00
committed by mobile promotions
parent 9e63dc99f4
commit dfccdeaace

View File

@@ -191,7 +191,8 @@ void nvgpu_dma_free(struct gk20a *g, struct nvgpu_mem *mem)
nvgpu_dma_free_vid(g, mem); nvgpu_dma_free_vid(g, mem);
break; break;
default: default:
break; /* like free() on "null" memory */ /* like free() on "null" memory */
break;
} }
} }