From patchwork Fri Oct 16 23:49:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arlin Davis X-Patchwork-Id: 54468 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9GNmoEU025082 for ; Fri, 16 Oct 2009 23:49:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751049AbZJPXtX (ORCPT ); Fri, 16 Oct 2009 19:49:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751379AbZJPXtW (ORCPT ); Fri, 16 Oct 2009 19:49:22 -0400 Received: from mga03.intel.com ([143.182.124.21]:64944 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751049AbZJPXtW convert rfc822-to-8bit (ORCPT ); Fri, 16 Oct 2009 19:49:22 -0400 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 16 Oct 2009 16:49:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,576,1249282800"; d="scan'208";a="200002553" Received: from orsmsx602.amr.corp.intel.com ([10.22.226.211]) by azsmga001.ch.intel.com with ESMTP; 16 Oct 2009 16:49:26 -0700 Received: from orsmsx506.amr.corp.intel.com ([10.22.226.44]) by orsmsx602.amr.corp.intel.com ([10.22.226.211]) with mapi; Fri, 16 Oct 2009 16:49:26 -0700 From: "Davis, Arlin R" To: linux-rdma , "ofw@lists.openfabrics.org" CC: "Smith, Stan" , "Hefty, Sean" Date: Fri, 16 Oct 2009 16:49:25 -0700 Subject: [PATCH 05/11] Fix build warning when compiling on 32-bit systems. Thread-Topic: [PATCH 05/11] Fix build warning when compiling on 32-bit systems. Thread-Index: AcpOu0r+z1TOonuZSDavrOPONQaPZg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/dapl/openib_ucm/cm.c b/dapl/openib_ucm/cm.c index 36ea419..41a7c9e 100644 --- a/dapl/openib_ucm/cm.c +++ b/dapl/openib_ucm/cm.c @@ -497,7 +497,7 @@ retry: notify = 0; for (i = 0; i < ret; i++) { - msg = (ib_cm_msg_t*)wc[i].wr_id; + msg = (ib_cm_msg_t*) (uintptr_t) wc[i].wr_id; dapl_dbg_log(DAPL_DBG_TYPE_CM, " ucm_recv: wc status=%d, ln=%d id=%p sqp=%x\n",