Messages in this thread | | | Date | Mon, 11 Apr 2005 22:34:15 -0700 | From | Greg KH <> | Subject | Re: [ANNOUNCE 2/6] Linux-iSCSI High-Performance Initiator |
| |
> +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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |