From 819921c54306f850f15f368e111d34a482a06982 Mon Sep 17 00:00:00 2001 From: Nicolas Benech Date: Fri, 15 Mar 2019 16:12:24 -0400 Subject: [PATCH] gpu: nvgpu: unit: init empty JAMA strings When JAMA-related data is not being used, make sure that the corresponding strings are still initialized otherwise it could cause issues in QNX. JIRA NVGPU-2937 Change-Id: I73cecf2e056820177e8973992f3b1c34f4d65d8f Signed-off-by: Nicolas Benech Reviewed-on: https://git-master.nvidia.com/r/2074038 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman Reviewed-by: mobile promotions Tested-by: mobile promotions --- userspace/include/unit/unit.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/userspace/include/unit/unit.h b/userspace/include/unit/unit.h index 02649f5bd..435fab18d 100644 --- a/userspace/include/unit/unit.h +++ b/userspace/include/unit/unit.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -146,6 +146,9 @@ struct unit_module { .name = #__name, \ .fn = __fn, \ .args = __args, \ + .jama.requirement = "", \ + .jama.unique_id = "", \ + .jama.verification_criteria = "", \ } /*