[PATCH 2/9] Staging: bcm: Remove typedef for stLocalSFDeleteIndication and call directly.

Dan Carpenter dan.carpenter at oracle.com
Fri Sep 21 13:54:11 UTC 2012


On Fri, Sep 21, 2012 at 09:47:45AM -0400, Kevin McKinney wrote:
> On Fri, Sep 21, 2012 at 3:02 AM, Dan Carpenter <dan.carpenter at oracle.com> wrote:
> > On Thu, Sep 20, 2012 at 10:43:45PM -0400, Kevin McKinney wrote:
> >> This patch removes typedef for stLocalSFDeleteIndication,
> >> changes the name of the struct to
> >> bcm_stlocalsfdelind. In addition, any
> >> calls to the following typedef
> >> "stLocalSFDeleteIndication" are changed to call
> >> the struct directly.
> >
> > The new name is hard to understand.  I think the "st" in
> > stLocalSFDeleteIndication and bcm_stlocalsfdelind stands for
> > struct.  We can remove that.
> 
> Yeah, I also think the "st" stands for structure. Okay I can remove this.
> 
> > Does the "local" mean there is also a "remote" version?
> > SF stands for Service Flow I think.  That seems fine.
> > It's better to put underscores between words if you can.
> > So maybe something like:
> 
> I am not sure why they had local here, I originally thought maybe
> there was a corresponding structure residing in user space, but I was
> not completely sure.  Let me find out and I will change this based on
> what I find.

In general the bcm people tended to be too wordy.  It might be that
struct bcm_del_indication { is a good name.

regards,
dan carpenter




More information about the devel mailing list