netdev
[Top] [All Lists]

Re: [NET] make all protos partially use sk_prot

To: Marcel Holtmann <marcel@xxxxxxxxxxxx>
Subject: Re: [NET] make all protos partially use sk_prot
From: Arnaldo Carvalho de Melo <arnaldo.melo@xxxxxxxxx>
Date: Sat, 26 Mar 2005 10:13:31 -0300
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, Network Development Mailing List <netdev@xxxxxxxxxxx>
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=CK+w8P/klMEMlQ3erTLu97ugjS5MCoGVb3jydyBr+DpfJYvDQNZgFeD0QOefOQHB7AlkrO3UXGdAxfYeuNJtmHT6WlWH9o+nJGI7cDNyIKmgnW6OeM0iZUx2pu2IbTebdXVQF6csP6C/Pd2f5e+iXhPNbzVr8ATDZ/4ci5c2tXs=
In-reply-to: <1111842541.9195.183.camel@pegasus>
References: <20050326003937.GA13951@xxxxxxxxxxxxxxxx> <1111842541.9195.183.camel@pegasus>
Reply-to: acme@xxxxxxxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
On Sat, 26 Mar 2005 14:09:01 +0100, Marcel Holtmann <marcel@xxxxxxxxxxxx> 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.

Regards,

- Arnaldo

<Prev in Thread] Current Thread [Next in Thread>