Re: [PATCH 1/2] iWARP Connection Manager.
- From: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 15:58:00 -0500
On Wed, 2006-05-31 at 12:24 -0700, Roland Dreier wrote:
+ cm_id_priv = kzalloc(sizeof *cm_id_priv, GFP_KERNEL);
Please put paren's after sizeof, it is not required by C but it
is easier to read.
I disagree -- I hate seeing sizeof look like a function call.
For the most part, drivers/infiniband/core uses sizeof without
parentheses. So I think the correct answer here is to keep the iwcm.c
file in line with the rest of the core.
Steve.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 1/2] iWARP Connection Manager.
- From: Stephen Hemminger
- Re: [PATCH 1/2] iWARP Connection Manager.
- References:
- [PATCH 0/2][RFC] iWARP Core Support
- From: Steve Wise
- [PATCH 1/2] iWARP Connection Manager.
- From: Steve Wise
- Re: [PATCH 1/2] iWARP Connection Manager.
- From: Stephen Hemminger
- Re: [PATCH 1/2] iWARP Connection Manager.
- From: Roland Dreier
- [PATCH 0/2][RFC] iWARP Core Support
- Prev by Date: OOPS! RE: Sharing memory between user and kernel space
- Next by Date: Re: linux-2.6 x86_64 kgdb issue
- Previous by thread: Re: [PATCH 1/2] iWARP Connection Manager.
- Next by thread: Re: [PATCH 1/2] iWARP Connection Manager.
- Index(es):