Re: [ANNOUNCE 2/6] Linux-iSCSI High-Performance Initiator

From: Dmitry Yusupov
Date: Tue Apr 12 2005 - 11:46:10 EST


On Mon, 2005-04-11 at 22:35 -0700, Greg KH wrote:
> On Mon, Apr 11, 2005 at 08:24:08PM -0700, Alex Aizman wrote:
> > +typedef uint64_t iscsi_snx_t; /* iSCSI Data-Path session handle */
> > +typedef uint64_t iscsi_cnx_t; /* iSCSI Data-Path connection handle */
>
> Do you really have to create a new typedef? Please reconsider. Just
> use u64 everywhere, unless you need to do type checking...

it is a handle and it is used as a parameter in exported API. yes. type
checking exactly the reason.

Dima


-
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/