From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7DF54A0353; Tue, 1 Mar 2022 12:32:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4627B40DF6; Tue, 1 Mar 2022 12:32:24 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2040.outbound.protection.outlook.com [40.107.93.40]) by mails.dpdk.org (Postfix) with ESMTP id CAA8C407FF for ; Tue, 1 Mar 2022 12:32:22 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ShfuL1KhLhkCe/FnZrdKxyw/7MM5YQpGNhke8WGXJzuDcVQaEKvY8AUMgaZutw3Q8k5FV3AzGTUDfQMr/MO5X3ExmgmjEcaujwT0fZ6KFW947PF8rPXi6R+fDyiTOisr6crVtrGSvVsIjjFvE1JISIccuidY+WpGqOtCC53XE/jmO2wnwwx9CJMNSV/A/asysXk93An8SyLXaO2Chxy68YYu6qaBTSPd9jL1h4qF7PeHloNixKc0iXfHCJblwwbrX3Qfg9kFSE/IYd4N/XKJpgXE5TyPA+lw362/oM9Du38hKFQ/elGOxqwPcXl/5IxUc2cnq//0eOL+iXAY1KhF3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OSRQa3ZLqbsU50NvYOiJlseNwR4V2TFg0pXRao8FwdA=; b=T087sc8hl+uXA9G8P+0Rsc7Z+qaOFiRwLHucMQiAG2N3mv8RL8Jf7QaSzlxUOsw+HICe9Cibpn8hRH+vnZxtqpdp9ERfR59iVcy7l1Ri6CZyUCe4eQVs90tLvBBdkiWpkfi6aGOgPhhuDP0z8SZPlwcUYNztbNF0NfSWPl1wDUFpYtb/6JtCkAdYg6VvGRrNBvxht6CTMeSKI3s4KVzQw2XGrEOQzrYispZv7EEloDqBtNSE3aomxcFuhvCO+fJySmG1sbxivYstYQUxctzF6+tUVz0BZqNiEdT4L6ojJ8JxrdqFHqorkFn0KRWmp6MOwCUhCryWaJPmr9DRjI7EzQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.234) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OSRQa3ZLqbsU50NvYOiJlseNwR4V2TFg0pXRao8FwdA=; b=seB1bKOlP11iNblahrQkbNnmjzrRB5P3kCi4QkEhdMCPHpPsUl4/9xHq4uqR5oJMuT9WsljJ2YCIn/mtArfempERo3L+ptr8u8rtZJY5jP7Huw3agMR9CFJb51DbAUulkvP7GGlrQKCk//T2d2BzjMa6WC79rHPUrEIFN24C7A8TOs+8z3z/3eEG7w8wrStqOTWkCYDdJbLGMeWEKAKORyWNZMfHdrkeTAyQLiLaknurrQHt57MdFqmqjSBNGLzSRYwN02vZQmdL4+HByOrPsRyDkmX/Urr/qF0sHnh7ituJBjqZ11h+tO6zwudBF+CZHtoL9TW4q2UWA4BFH04jtA== Received: from BN9PR03CA0229.namprd03.prod.outlook.com (2603:10b6:408:f8::24) by CH2PR12MB4151.namprd12.prod.outlook.com (2603:10b6:610:78::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.25; Tue, 1 Mar 2022 11:32:21 +0000 Received: from BN8NAM11FT023.eop-nam11.prod.protection.outlook.com (2603:10b6:408:f8:cafe::ed) by BN9PR03CA0229.outlook.office365.com (2603:10b6:408:f8::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.22 via Frontend Transport; Tue, 1 Mar 2022 11:32:21 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.234) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.234 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.234; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.234) by BN8NAM11FT023.mail.protection.outlook.com (10.13.177.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5017.22 via Frontend Transport; Tue, 1 Mar 2022 11:32:21 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL101.nvidia.com (10.27.9.10) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 1 Mar 2022 11:32:19 +0000 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.9; Tue, 1 Mar 2022 03:32:18 -0800 From: To: CC: Elena Agostini Subject: [PATCH] gpu/cuda: missing slash in libcuda.so path Date: Tue, 1 Mar 2022 19:42:05 +0000 Message-ID: <20220301194205.20204-1-eagostini@nvidia.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dd7ab01a-e58d-45aa-9a5b-08d9fb77264b X-MS-TrafficTypeDiagnostic: CH2PR12MB4151:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ngS1HD9pYaGN4LaMyNtOEAydReEAMQ4EqPhl2YD9W3pUV7YRNxVv9elBTfExXko0o/ZzD65o/4bN1h/WzSxTqh0jtjgITEWezMF8N6rtXHFcso2qT7GQhIrQnMrbhlVZnBYzudGxGGw9zG5BLbZgHu/NPmO6NPqN/YPYQIxg1vlolvfrlWTOzJpF1uA17bQp2pMw0rvoDYvnGcTT6RSB7S0Y6YkR04kNnTWcL+RIdbXdOni8JYA70voskQGpW8l2GPvY/6KL6tOe+4qEH8CWTeUuuo0hUEgOe9ZZ7bS4/xnUjITjzA9Y5dSj9MqO4rvKpMqb2MZAKURyTU9yOCrOvosN93xeNKvZiBfsNNidk4K4Mj0tjtzW4xUaYLL/KJps7DxxC7zJqh4oAjoO4BJVy8RlT75adD7gnSEAWYFubpt0GZNzcZLOOXyISGrtl9e2Qc5fRNxMi/rZ4phwg7qFeI2coDXPh6r8Uam6QwU6QMqdX6z6I8T+oOukGH3SBu8HDSSJ70c5iMoonssDc24MDhGkDTsQo/ABw/tP0/t9UH2zS3hWW1BPhtehcNuT4ucCKoR0fw19XDotSm6NbGYryAVI0Q1d287zoJxErBvYktdjVIsfsUMrIMCPAflPZbegJRqrzppHuI0NwJODYESI8OkDXZib5UFN1UEOM6qA9uJdkKXQpxM/shjAnEAWhQS6LzCH6aE5FzXqcPz46iG5eg== X-Forefront-Antispam-Report: CIP:12.22.5.234; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230001)(4636009)(46966006)(40470700004)(36840700001)(2616005)(508600001)(86362001)(316002)(1076003)(5660300002)(107886003)(36860700001)(6916009)(82310400004)(70586007)(7696005)(70206006)(6666004)(8676002)(4326008)(83380400001)(36756003)(47076005)(40460700003)(55016003)(2876002)(4744005)(26005)(16526019)(426003)(336012)(8936002)(356005)(2906002)(186003)(81166007)(6286002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2022 11:32:21.0242 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dd7ab01a-e58d-45aa-9a5b-08d9fb77264b X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.234]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT023.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4151 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Elena Agostini Signed-off-by: Elena Agostini --- drivers/gpu/cuda/cuda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/cuda/cuda.c b/drivers/gpu/cuda/cuda.c index 2f8c4684ce..8505d39d64 100644 --- a/drivers/gpu/cuda/cuda.c +++ b/drivers/gpu/cuda/cuda.c @@ -169,7 +169,7 @@ cuda_loader(void) if (getenv("CUDA_PATH_L") == NULL) snprintf(cuda_path, 1024, "%s", "libcuda.so"); else - snprintf(cuda_path, 1024, "%s%s", getenv("CUDA_PATH_L"), "libcuda.so"); + snprintf(cuda_path, 1024, "%s/%s", getenv("CUDA_PATH_L"), "libcuda.so"); cudalib = dlopen(cuda_path, RTLD_LAZY); if (cudalib == NULL) { -- 2.17.1