From patchwork Wed Oct 7 16:32:57 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Smith, Stan" X-Patchwork-Id: 52297 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 n97Gi3Ej005192 for ; Wed, 7 Oct 2009 16:44:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759548AbZJGQdf (ORCPT ); Wed, 7 Oct 2009 12:33:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759552AbZJGQde (ORCPT ); Wed, 7 Oct 2009 12:33:34 -0400 Received: from mga11.intel.com ([192.55.52.93]:53550 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759548AbZJGQde (ORCPT ); Wed, 7 Oct 2009 12:33:34 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 07 Oct 2009 09:20:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,520,1249282800"; d="scan'208";a="733882206" Received: from scsmith-mobl1.amr.corp.intel.com (HELO scsmithMOBL1) ([10.7.151.219]) by fmsmga001.fm.intel.com with ESMTP; 07 Oct 2009 09:35:51 -0700 From: "Stan C. Smith" To: "'Sasha Khapyorsky'" Cc: , "'linux-rdma'" Subject: [PATCH] use transportable constant attributes Date: Wed, 7 Oct 2009 09:32:57 -0700 Message-ID: <743562BB0B3D481CBA03C8E21DA478D1@amr.corp.intel.com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcpHa9PV02Ub/UpjQ9yNM8UbGhvmTw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/opensm/libvendor/osm_vendor_ibumad.c b/opensm/libvendor/osm_vendor_ibumad.c index e5f0c54..8d3c680 100644 --- a/opensm/libvendor/osm_vendor_ibumad.c +++ b/opensm/libvendor/osm_vendor_ibumad.c @@ -126,7 +126,7 @@ Exit: static osm_madw_t *get_madw(osm_vendor_t * p_vend, ib_net64_t * tid) { umad_match_t *m, *e; - ib_net64_t mtid = (*tid & CL_HTON64(0x00000000ffffffffllu)); + ib_net64_t mtid = (*tid & CL_HTON64(0x00000000ffffffffULL)); osm_madw_t *res; /*