From b789ba7460820b254b222274e3f920476f2dbe92 Mon Sep 17 00:00:00 2001 From: srajum Date: Fri, 22 Oct 2021 01:14:59 +0530 Subject: [PATCH] gpu: nvgpu: marking dt.h as non-safe - The nvgpu_dt_read_u32_index() functin of dt.h is used only in non-safe code, so no need of this file to be safe. - Also this is fixing the unit test tracibility issue with nvgpu_dt_read_u32_index() function JIRA NVGPU-7211 Change-Id: I4023915f2ad9872df01f5e75fa21c1d492cc731a Signed-off-by: srajum Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2614653 (cherry picked from commit 3ac63b3a707736c20a9c53948a689c0a21ecf58c) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2623632 Reviewed-by: Sagar Kamble Reviewed-by: Vaibhav Kachore Reviewed-by: mobile promotions Tested-by: Sagar Kamble Tested-by: mobile promotions GVS: Gerrit_Virtual_Submit --- arch/nvgpu-interface.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/nvgpu-interface.yaml b/arch/nvgpu-interface.yaml index b5a25be9a..17e06092f 100644 --- a/arch/nvgpu-interface.yaml +++ b/arch/nvgpu-interface.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2019, NVIDIA CORPORATION. All Rights Reserved. +# Copyright (c) 2019-2021, NVIDIA CORPORATION. All Rights Reserved. # # OS interface units and utilities. Often represented by simply a header file. # @@ -37,7 +37,7 @@ dma: # This one is likely not structured correctly. dt: - safe: yes + safe: no sources: [ include/nvgpu/dt.h ] # Also a problem.