summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/lpwr/rppg.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-09-04 20:11:22 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-05 23:41:19 -0400
commit2b2bde04e14135cae5f7433c755e6b8d70f88abb (patch)
treec2189ffa556f6b84628d177169204b40b5b1c5bb /drivers/gpu/nvgpu/lpwr/rppg.c
parent3b413d58fa349eca1da9577359546c39effa2c8c (diff)
gpu: nvgpu: Fix MISRA 21.2 violations (page_allocator.c)
MISRA 21.2 states that we may not use reserved identifiers; since all identifiers beginning with '_' are reserved by libc, the usage of '__' as a prefix is disallowed. This change fixes uses of '__' prepended to static functions defined in page_allocator.c. Since these funcitons were static and had no naming conflicts the '__' was simply removed. For free_pages() this also needed to have a nvgpu specific prefix since free_pages() conflicts with a Linux kernel function name. JIRA NVGPU-1029 Change-Id: I8b96e55244bd2de166f7dcc64d2b30427757ea8f Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1812826 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/lpwr/rppg.c')
0 files changed, 0 insertions, 0 deletions