summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/ctrl/ctrlclk.h
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-09-05 18:46:39 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-12 20:48:15 -0400
commitba2a632f039af2d13db9a0e4df9e34206116aef0 (patch)
tree0ffc56d05150f59d7476b152f8a65778e535e546 /drivers/gpu/nvgpu/ctrl/ctrlclk.h
parent338500c8e2ee342612d7bc4eb1cd87850228d4e2 (diff)
gpu: nvgpu: Fix MISRA 21.2 violations (buddy_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. Fixes for the buddy allocator. These are all pretty trivial; mostly the '__' prefix is simply deleted since the functions are all static. The one exception is the list accessors were also renamed slightly to include a 'do' component to show more clearly that the other list accessors are convenience functions. JIRA NVGPU-1029 Change-Id: Ia39cdde9a81e740537fc9b4d70d87eadc12f8d4d Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1813601 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/ctrl/ctrlclk.h')
0 files changed, 0 insertions, 0 deletions