From patchwork Sun Dec 9 11:07:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garrett Cooper X-Patchwork-Id: 1853631 X-Patchwork-Delegate: alexne@voltaire.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 32FD93FCF2 for ; Sun, 9 Dec 2012 11:07:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753994Ab2LILHb (ORCPT ); Sun, 9 Dec 2012 06:07:31 -0500 Received: from mail-pb0-f46.google.com ([209.85.160.46]:56400 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752554Ab2LILHb (ORCPT ); Sun, 9 Dec 2012 06:07:31 -0500 Received: by mail-pb0-f46.google.com with SMTP id wy7so1277035pbc.19 for ; Sun, 09 Dec 2012 03:07:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:user-agent:mime-version :content-type; bh=KVJX+nlfY2RcMJKRbV+GsOlpF634sRp8QonCDfkpPgo=; b=Vv69YCjhYlEREywl92t8vUf5iWHUkal47Ou9pcQ5BqYCa/0fKBCOACgkuTvA5VVV+a 9expCTNQ2aqsQPUBHeqZUvvKPFPjg5YeAOAOcjJhv5H6DWuXbDPEQKE9lLRX3c5vL0kk N4HDkOOmssoCrdqsb2KNv1VA5uc+2mH9pMHBOZDLOs6cmW4VM8V3MTah2a1lkq8uvh7b Euf0z3yNWj3OR6RS/c8XAuDZXVDV7DD6x94iUenH1VfxO8mcYq+HHS+GO6ylUNOMkrT5 GqNiWHyYT4uf1WkTkSV3k+hk4QQmgH18oFM6ED4rysJzmqZt6mYrJ7bAPxljF1JGkh6I 9icg== Received: by 10.68.130.170 with SMTP id of10mr10062028pbb.131.1355051250823; Sun, 09 Dec 2012 03:07:30 -0800 (PST) Received: from c-24-19-191-56.hsd1.wa.comcast.net (c-24-19-191-56.hsd1.wa.comcast.net. [24.19.191.56]) by mx.google.com with ESMTPS id kl3sm2623435pbc.15.2012.12.09.03.07.29 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 03:07:30 -0800 (PST) Date: Sun, 9 Dec 2012 03:07:25 -0800 (PST) From: Garrett Cooper To: linux-rdma@vger.kernel.org Subject: [PATCH 3/3] Avoid linker error with clang 3.0 Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org It seems that there's a bug when linking inlined functions with clang; this issue will need to be upstreamed and reverified with clang 3.2. Signed-off-by: Garrett Cooper --- osmtest/osmtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osmtest/osmtest.c b/osmtest/osmtest.c index 68b0e40..4f56106 100644 --- a/osmtest/osmtest.c +++ b/osmtest/osmtest.c @@ -3068,7 +3068,7 @@ Exit: return (status); } -inline uint32_t osmtest_path_rec_key_get(IN const ib_path_rec_t * const p_rec) +static uint32_t osmtest_path_rec_key_get(IN const ib_path_rec_t * const p_rec) { return (p_rec->dlid << 16 | p_rec->slid); }