gpu: nvgpu: mm: fix MISRA 21.2 in page_table

MISRA rule 21.2 prohibits using __name for functions and identifiers.
Fix MISRA 21.2 violations in nvgpu.common.mm.gmmu.page_table.

JIRA NVGPU-3340

Change-Id: I8963ce4df96e4e9cf286135d87bfab7703d4f5bd
Signed-off-by: Philip Elcan <pelcan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2110595
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-02 12:10:10 -04:00
committed by mobile promotions
parent 3d64bc19df
commit 93cfec16a9
6 changed files with 137 additions and 135 deletions

View File

@@ -262,7 +262,7 @@ static int map_buffer(struct unit_module *m,
/*
* Based on the virtual address returned, lookup the corresponding PTE
*/
ret = __nvgpu_get_pte(g, vm, mapped_buf->addr, pte);
ret = nvgpu_get_pte(g, vm, mapped_buf->addr, pte);
if (ret != 0) {
unit_err(m, "PTE lookup failed\n");
ret = UNIT_FAIL;