summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include/nvgpu/allocator.h
diff options
context:
space:
mode:
authorsmadhavan <smadhavan@nvidia.com>2018-09-10 05:24:10 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-27 02:35:33 -0400
commitc18c8b5b28b839ac20ae2c4b1003e9b44199016a (patch)
tree19f94952adf9cbd581a804a32c4fe847655463dc /drivers/gpu/nvgpu/include/nvgpu/allocator.h
parentd77785800b2ae4c27354500305303c395a18acf4 (diff)
nvgpu: include: MISRA Rule 21.2 header guard fixes
MISRA rule 21.2 doesn't allow the use of macro names which start with an underscore. These leading underscores are to be removed from the macro names. This patch will fix such violations in the include directory by renaming them to follow the convention, 'NVGPU_HEADER_H'. JIRA NVGPU-1028 Change-Id: I0289a168252595d17ac47c5ed32cabc4eea33e25 Signed-off-by: smadhavan <smadhavan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1809755 Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Adeel Raza <araza@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/allocator.h')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/allocator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/allocator.h b/drivers/gpu/nvgpu/include/nvgpu/allocator.h
index d722673d..c444543e 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/allocator.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/allocator.h
@@ -20,8 +20,8 @@
20 * DEALINGS IN THE SOFTWARE. 20 * DEALINGS IN THE SOFTWARE.
21 */ 21 */
22 22
23#ifndef __NVGPU_ALLOCATOR_H__ 23#ifndef NVGPU_ALLOCATOR_H
24#define __NVGPU_ALLOCATOR_H__ 24#define NVGPU_ALLOCATOR_H
25 25
26#ifdef __KERNEL__ 26#ifdef __KERNEL__
27/* 27/*