From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Khapyorsky Subject: Re: [PATCH] osm_subnet.c Date: Sun, 4 Oct 2009 02:13:16 +0200 Message-ID: <20091004001316.GK17846@me> References: <3F6F638B8D880340AB536D29CD4C1E1912C86E8A8F@orsmsx501.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <3F6F638B8D880340AB536D29CD4C1E1912C86E8A8F@orsmsx501.amr.corp.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ofw-bounces@lists.openfabrics.org Errors-To: ofw-bounces@lists.openfabrics.org To: "Smith, Stan" Cc: "ofw@lists.openfabrics.org" , linux-rdma List-Id: linux-rdma@vger.kernel.org Hi Stan, On 14:35 Thu 01 Oct , Smith, Stan wrote: > > Set function return type to match that of cl_pfn_fmap_cmp_t to align with how the function is invoked. > > Signed-off-by: stan smith > > --- a/opensm/opensm/osm_subnet.c 2009-10-01 12:45:52.000000000 -0700 > +++ b/opensm/opensm/osm_subnet.c 2009-10-01 14:24:18.000000000 -0700 > @@ -397,7 +397,7 @@ > > /********************************************************************** > **********************************************************************/ > -static long compar_mgids(const void *m1, const void *m2) > +static intn_t compar_mgids(const void *m1, const void *m2) Any disagreement about changing a prototype of this method (cl_pfn_fmap_cmp_t) in complib to use standard type (long) instead of "homemade" and less clear one ('intn_t')? Sasha > { > return memcmp(m1, m2, sizeof(ib_gid_t)); > } >