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

Greg KH
2005-04-12T05:34:42Z

> +struct iscsi_hdr {
> + uint8_t opcode;
> + uint8_t flags; /* Final bit */
> + uint8_t rsvd2[2];
> + uint8_t hlength; /* AHSs total length */
> + uint8_t dlength[3]; /* Data length */
> + uint8_t lun[8];
> + uint32_t itt; /* Initiator Task Tag */
> + uint32_t ttt; /* Target Task Tag */
> + uint32_t statsn;
> + uint32_t exp_statsn;
> + uint8_t other[16];

Please use u8 and u32 instead of the types you used here. See the lkml
archives for many threads about this topic.

thanks,

greg k-h