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

From: Greg KH
Date: Tue Apr 12 2005 - 00:52:13 EST


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