From d8c125f2b043df0cf92d0f1a268bc7a890b86046 Mon Sep 17 00:00:00 2001 From: Maisam Arif Date: Tue, 2 Sep 2025 14:59:52 -0500 Subject: [PATCH] [SWDEV-553016] Added Copyright to scoped_fd.cc Signed-off-by: Maisam Arif Change-Id: I2ea872e7c5c61a6e4b5c7e7114d016b8a1069b28 [ROCm/amdsmi commit: c876180875a409db8392835a0b8a16201a6ee597] --- projects/amdsmi/src/amd_smi/scoped_fd.cc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/projects/amdsmi/src/amd_smi/scoped_fd.cc b/projects/amdsmi/src/amd_smi/scoped_fd.cc index 27b71b7d21..0c82e5fbfc 100644 --- a/projects/amdsmi/src/amd_smi/scoped_fd.cc +++ b/projects/amdsmi/src/amd_smi/scoped_fd.cc @@ -1,3 +1,25 @@ +/* + * Copyright (c) Advanced Micro Devices, Inc. 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"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + #include "amd_smi/impl/scoped_fd.h" #include