Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932518AbWAQXvn (ORCPT ); Tue, 17 Jan 2006 18:51:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932565AbWAQXvl (ORCPT ); Tue, 17 Jan 2006 18:51:41 -0500 Received: from fmr17.intel.com ([134.134.136.16]:23438 "EHLO orsfmr002.jf.intel.com") by vger.kernel.org with ESMTP id S932516AbWAQXvj (ORCPT ); Tue, 17 Jan 2006 18:51:39 -0500 From: "Sean Hefty" To: "'Stephen Hemminger'" Cc: , , Subject: RE: [PATCH 2/5] [RFC] Infiniband: connection abstraction Date: Tue, 17 Jan 2006 15:51:23 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Thread-Index: AcYbv4GKi3GOH7PgQ7SAUxpZSCxGzgAAKDgg In-Reply-To: <20060117153838.3dc2cd2e@dxpl.pdx.osdl.net> Message-ID: X-OriginalArrivalTime: 17 Jan 2006 23:51:23.0544 (UTC) FILETIME=[EC1A1180:01C61BC0] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 950 Lines: 27 >> +static void cm_mask_compare_data(u8 *dst, u8 *src, u8 *mask) > >static void cm_mask_compare_data(u8 *dst, const u8 *src, u8 *mask) > >but I would rename it to cm_mask_copy since it doesn't really do a compare. I'll change this. The function is masking the "data to use in the comparison", but I can see the confusion. >> +static int cm_compare_data(struct ib_cm_private_data_compare *src_data, >> + struct ib_cm_private_data_compare *dst_data) > >static int cm_compare_data(const struct ib_cm_private_data_compare *src, > cosnt struct ib_cm_private_data_compare *dst) >Your data type names are getting too long ^^^^^^^^^^^^^^^^^^^^^^^^ I'll fix. Thanks for the comments. - Sean - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/