Message ID | 20180312195123.GA4227@ziepe.ca (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Leon Romanovsky |
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8110F602C2 for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 12 Mar 2018 19:51:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FC6828B1B for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 12 Mar 2018 19:51:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6460128C6A; Mon, 12 Mar 2018 19:51:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D546928B1B for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 12 Mar 2018 19:51:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932252AbeCLTvf (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Mon, 12 Mar 2018 15:51:35 -0400 Received: from mail-eopbgr20047.outbound.protection.outlook.com ([40.107.2.47]:53664 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751390AbeCLTvc (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Mon, 12 Mar 2018 15:51:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=0dDISznn6NMWu/PvC7/LvooElLRIPCvhLrwbrvTSDiE=; b=FRT9klMFg4eJEfkTwW6PtF7dtqb/k39OA5Yc21ONLM6K39DVakgvhzvqu5UxbBGRckQIExLLSVSi4szdY/H4YDM2LmmjmSBSN4j6mVtHKXBakFF0u5SpLpfiAdllES/X3SI0G9MMVvbPruWNUNzPW6zbUmVq4r7fKRgoPw4aWU0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jgg@mellanox.com; Received: from mlx.ziepe.ca (174.3.196.123) by DB6PR0501MB2854.eurprd05.prod.outlook.com (2603:10a6:4:83::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.567.14; Mon, 12 Mar 2018 19:51:29 +0000 Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from <jgg@mellanox.com>) id 1evTTf-00016a-HV for linux-rdma@vger.kernel.org; Mon, 12 Mar 2018 13:51:23 -0600 Date: Mon, 12 Mar 2018 13:51:23 -0600 From: Jason Gunthorpe <jgg@mellanox.com> To: linux-rdma@vger.kernel.org Subject: [PATCH rdma-core] Fix typo in rdma_create_symlink Message-ID: <20180312195123.GA4227@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [174.3.196.123] X-ClientProxiedBy: AM4PR08CA0071.eurprd08.prod.outlook.com (2603:10a6:205:2::42) To DB6PR0501MB2854.eurprd05.prod.outlook.com (2603:10a6:4:83::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 4f4eda79-8695-43fb-1329-08d58852a5c8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB6PR0501MB2854; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2854; 3:5Zr9dvhHVt1XyOwUz5i2xfPs6F27J3dBMzjsOp/FHJqN1gemu03WQDkWYQuzN1yXQs7c50o08/rymJr5rDdc8yHL9Tib+qbflXi1ohk0anzRVC3AAvgy1n4BvLK5hPx92SMCvoNk6aL5gQ6F8c82mwPx3Aeay8S07RtJndqtHiVKZok4ROZY/pysICz1TRY+9/knFGRH1T4TEWsOo9pBrrTAILK1KQPmwbnM8hH2FNDt1UhdxoiKrRq0MP3XLuME; 25:5qdHo//+JTdn4CaHVKpo2Q/JkeCkdVnS2dRaphmajDecfYBsQ76t0JHXrO2U78CWmXr6e9MQTp/yOj41Pne9yxQox0eRKPVORN4oTseTr2LKJ3BDWDhy31FA/hZKmoUdvZ8oL3Tjj+Gwp7oCh+dbU7OduOOYjqLJOWwxPAR5ATi5+ylYdbK9ubpnvJ4XeYovs3iV49iSW/Lq4NzIw9qT/NbJxUTNMMhTw/ZAbeZGUlNF0mg92loHuxmYtMuiqFe7OHGaoZ9Lb+fH42pAUaLQQKmJQ7OSBqYK2iiJWvQLGLRr6oTxvZMQrbR9hoTZypwLo/fzPSf+WJmj+m7I6XrMbA==; 31:6lehVUx4GAaGBKuoRLV32t0+jZoEzsjgAWdML1Lu7P782AzwIJt6FhZtYmBOUiMG4uitnz+a/06JR04BiWtg8YzrWlQ+luVgir0EB+ZkTorEThyVEAJVlO++qaTG2ar949rjJApnUJ1Lq6mD0szvF2HGDCcx+wiOF2O4bGOQGnVXIPcFE8apAHAjPOwsxfNUMD03mN5fGqXtAOtJ7pt/UsO9AG2XD0+ManmFY/u+Vrk= X-MS-TrafficTypeDiagnostic: DB6PR0501MB2854: X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2854; 20:wgJJktdDmGhXLk4VDmDU4rOB0OmhpvPJn2vMQbtmJAVUDGyu4ZisQEeOGJ9bYId2R4Yv+BVLEO+DIqRv1+h+AWVZNJoBcIeRqd65lLPf45oo70ho6xaRQZV+YAL8otexGy5s4vpbctqZHOzcG4T/wai5juSucgu4pgxA4xQDhQ8L0e5lT0sGHAJ1QaDxYIPl/4z1y0ahh5YXcz33+NTzOFIw+oYPFxEqCrV8rck5gz9cAiQb7nl2ickHfjo9Nd77eWgIhTbBUI0Nt7ws0/0cV4jy7Larb/nbt/RqRp2QaPeICjtEy7Wcxzw6LHSXPtuy3fL9AP4bq0hhczEyV6fokRKqC4SGpWcwtkpyLkIWtvdvCvjDI9TSOJ5SVAKB5WlCBwWR/lxEkdOwUfFmVjdqVMbjIXxwZoNv2z6Jt2HPUsjwei9p4GIkMHj4nPCwmTeC9NdEQyVsNFUxHlBANdwYdyGSpjAmjaravR+gs8uijgiTSzJD0P/FyBfm/TB88YkU; 4:RYa1DyqRz6Z4lLxDlKCBOOPfE3SJz0RZF2nwdBCzqnN3wa2HInklvbr0AMwO8Hbhkf/oK06UYhx8qIfLGsANvrfeuXf3M0iJ/tsyfwRNXsdfrOZoZOM/jmmB+2/0AY7rFyUnJx+ElCqAPtceZAqcvnGGHT9qsHe9EMQNSqszL1ly996ZrO2e1aPeAQDsc4k4nFfyBXVg3AVniUhQDXUH69Efy7Y5a2ulpYMae4yDoGSkVRXPM8s43o+J2CW1+KiEofsOtx2BlLzS0Mtb0KLwFg== X-Microsoft-Antispam-PRVS: <DB6PR0501MB28547D099F1CC4ADCF02066BCFD30@DB6PR0501MB2854.eurprd05.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(6055026)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:DB6PR0501MB2854; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0501MB2854; X-Forefront-PRVS: 06098A2863 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(366004)(376002)(39860400002)(346002)(396003)(189003)(199004)(46656002)(66066001)(36756003)(9686003)(69596002)(186003)(26005)(47776003)(52116002)(16586007)(58126008)(59450400001)(122856001)(33896004)(83796002)(57986006)(105586002)(478600001)(106356001)(68736007)(53936002)(2361001)(2351001)(33656002)(316002)(9786002)(86362001)(9746002)(97736004)(23726003)(7736002)(3846002)(6916009)(386003)(305945005)(5660300001)(81166006)(81156014)(8676002)(8936002)(50466002)(6116002)(2906002)(1076002)(18370500001)(24400500001)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0501MB2854; H:mlx.ziepe.ca; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0501MB2854; 23:pISttkGpqgYUy8G6TU4bZ/Ek9nBOWLWm5l50pk+?= =?us-ascii?Q?W6kwAMDXBa223zjx6sMkQxuvvjEqN0nL3/ICxc2uq6zjbZErpIlpVYSu1+av?= =?us-ascii?Q?jTr8bskcLNhAwhWYwtsN9aou6l6g+tYZLI2u1xCMyHlpbDVKyNhyuoWQRcK4?= =?us-ascii?Q?EV7aBWDBtWanWqnWcCF96piRuLjSZlnuJ/Tg4z2KWACpleeEvoqcrnWDeTBz?= =?us-ascii?Q?8lZ4+5mAkDeVYub8ncdnRVh1ycWZ717BvWjXi6fqrnGh1pRMH0DDqpQq8BsL?= =?us-ascii?Q?T+iTJd62A+LOA49/+SJqI2XhBXD6qecN0de1o8Fg/fykN8jMqJfZwV11G8rr?= =?us-ascii?Q?ZSyRVskhLQNK4fvsEEJRHKPNfT/zR9fsnnXzA9hXRcpSVmaNbZOrykBO/vRf?= =?us-ascii?Q?1VkotZjGKLSDLfmfa2l2nj8NlM8VIXeZT1Ng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wOz2qevBxtGTUB379EGLpILdaCpLgO4I5xUF SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2018 19:51:29.1123 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4f4eda79-8695-43fb-1329-08d58852a5c8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2854 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
On Mon, 2018-03-12 at 13:51 -0600, Jason Gunthorpe wrote: > The only reason this worked is because all cases have DDIR == BUILD_LIB > > Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Thanks, applied.
diff --git a/buildlib/rdma_functions.cmake b/buildlib/rdma_functions.cmake index 53a978e896acfa..292cacb6c125e6 100644 --- a/buildlib/rdma_functions.cmake +++ b/buildlib/rdma_functions.cmake @@ -28,7 +28,7 @@ function(rdma_create_symlink LINK_CONTENT DEST) IF(NOT EXISTS "${DDIR}/") execute_process(COMMAND "${CMAKE_COMMAND}" "-E" "make_directory" - "${BUILD_LIB}" RESULT_VARIABLE retcode) + "${DDIR}" RESULT_VARIABLE retcode) if(NOT "${retcode}" STREQUAL "0") message(FATAL_ERROR "Failed to create directory ${DDIR}") endif()
The only reason this worked is because all cases have DDIR == BUILD_LIB Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> --- buildlib/rdma_functions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)