Received: with ECARTIS (v1.0.0; list netdev); Sat, 26 Mar 2005 05:15:44 -0800 (PST) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j2QDFdKA022829 for ; Sat, 26 Mar 2005 05:15:39 -0800 Received: by wproxy.gmail.com with SMTP id 69so908310wra for ; Sat, 26 Mar 2005 05:15:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=dfhXlqe32AbZJsbfZM0B2pwmc5xV763zxUYs+slvfSK3anytgLn7xOF//BYO1AcbE4Ghi1SuLqBJSbiGvFTeYk+PG5tmT66vS3O+2oRt3rtWP8l004cXBMeXLrodhOnshAZLPTiKIOLBzBHTXBhRCMh21rw1xkOSLYhOotOHOOk= Received: by 10.54.99.8 with SMTP id w8mr1773799wrb; Sat, 26 Mar 2005 05:15:34 -0800 (PST) Received: by 10.54.72.15 with HTTP; Sat, 26 Mar 2005 05:15:34 -0800 (PST) Message-ID: <39e6f6c7050326051571ef8272@mail.gmail.com> Date: Sat, 26 Mar 2005 10:15:34 -0300 From: Arnaldo Carvalho de Melo Reply-To: acme@conectiva.com.br To: Marcel Holtmann Subject: Re: [NET] make all protos partially use sk_prot Cc: Arnaldo Carvalho de Melo , "David S. Miller" , Network Development Mailing List In-Reply-To: <39e6f6c705032605136bd797b2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20050326003937.GA13951@conectiva.com.br> <1111842541.9195.183.camel@pegasus> <39e6f6c705032605136bd797b2@mail.gmail.com> X-Virus-Scanned: ClamAV 0.83/789/Fri Mar 25 21:33:13 2005 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 738 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: arnaldo.melo@gmail.com Precedence: bulk X-list: netdev Content-Length: 1538 Lines: 36 On Sat, 26 Mar 2005 10:13:31 -0300, Arnaldo Carvalho de Melo wrote: > On Sat, 26 Mar 2005 14:09:01 +0100, Marcel Holtmann wrote: > > Hi Arnaldo, > > > > > Please take a look and apply if acceptable, full description is > > > on the changeset. > > > > > > Ah, I started using __ as a separator between class name and > > > method, I've been using this in some client projects and find it useful > > > for grepping and for ctags, as it eliminates some false positives and > > > do namespacing more strongly, please tell me if you don't like it. > > > > > > If this is accepted the next changesets probably will move > > > struct proto and the proto__ routines to net/core/prot.{c,h} and I'll > > > add proto__ prefix to all struct proto members, etc. > > > > I personally don't like the __ separator thing. Is this really needed? > > What is wrong with using "proto_register()"? Where is the advantage? > > Well, I stated it above, but if there are strong feelings like yours, > I'll humbly > retract that > > > And please don't convert from using "err" to "rc" for the return value > > of the init function. In the case of the Bluetooth subsystem we never > > call these variables "rc" and thus you are messing things up. > > Consistency, but again, strong feelings, so I'll rework the patch > removing the __ > and removing the style changes I did to your subsystem. Ah, apart from these style changes, do you think the real changes in this patch are worth? - Arnaldo