From 057d746690c1a472aa28cb9145a878d81c545375 Mon Sep 17 00:00:00 2001 From: ajesh Date: Tue, 4 Feb 2020 15:43:11 +0530 Subject: [PATCH] gpu: nvgpu: make circ_buf and log2 as safe Mark circ_buf and log2 units under posix as safe units. Jira NVGPU-4417 Change-Id: Ifd486242f94884f9696f18af0412b17c2517f21e Signed-off-by: ajesh Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2289637 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Philip Elcan Reviewed-by: Ankur Kishore Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions --- arch/nvgpu-posix.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/nvgpu-posix.yaml b/arch/nvgpu-posix.yaml index 49246a893..c6b48bf8b 100644 --- a/arch/nvgpu-posix.yaml +++ b/arch/nvgpu-posix.yaml @@ -40,11 +40,9 @@ headers: safe: no owner: Alex W sources: [ include/nvgpu/posix/barrier.h, - include/nvgpu/posix/circ_buf.h, include/nvgpu/posix/dma.h, include/nvgpu/posix/io.h, include/nvgpu/posix/log.h, - include/nvgpu/posix/log2.h, include/nvgpu/posix/nvgpu_mem.h, include/nvgpu/posix/pci.h, include/nvgpu/posix/posix-fault-injection.h, @@ -158,3 +156,15 @@ file_ops: sources: [ os/posix/file_ops.c, include/nvgpu/posix/file_ops.h ] deps: + +log2: + safe: yes + owner: Ajesh K + sources: [ include/nvgpu/posix/log2.h ] + deps: + +circ_buf: + safe: yes + owner: Ajesh K + sources: [ include/nvgpu/posix/circ_buf.h ] + deps: