From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Hutchings Subject: Re: [PATCH v2] net: add Faraday FTMAC100 10/100 Ethernet driver Date: Wed, 19 Jan 2011 12:46:40 +0000 Message-ID: <1295441200.2906.10.camel@localhost> References: <1294919372-1904-1-git-send-email-ratbert.chuang@gmail.com> <1295256060-2091-1-git-send-email-ratbert.chuang@gmail.com> <1295284788.21277.65.camel@Joe-Laptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Joe Perches , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ratbert@faraday-tech.com, eric.dumazet@gmail.com, dilinger@queued.net To: Po-Yu Chuang Return-path: Received: from mail.solarflare.com ([216.237.3.220]:32668 "EHLO exchange.solarflare.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754213Ab1ASMqr (ORCPT ); Wed, 19 Jan 2011 07:46:47 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 2011-01-19 at 17:40 +0800, Po-Yu Chuang wrote: [...] > Well, TBH, I don't like this style because if I changed the > function name, the indentation might need to be adjusted. > > Even worse, I got an infeasible case :-( > > static struct ftmac100_rxdes *ftmac100_rx_locate_first_segment( > struct ftmac100 *priv) > > I know my function names are quite long, but I like them to be descriptive. > Do you really insist on it? You can break after the return type: static struct ftmac100_rxdes * ftmac100_rx_locate_first_segment(struct ftmac100 *priv) Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked.