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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux