Luben Tuikov wrote: > Indeed it is more accurate to represent LUNs in 64 bit format. > > It is even more accurate to represent them as u8 LUN[8], and possibly > print them as > "0x%016llx" ((unsigned long long) be64_to_cpu(*(__be64 *)(LUN))). Might need a little precaution on some architectures. --- a/include/scsi/scsi.h +++ b/include/scsi/scsi.h @@ -249,7 +249,7 @@ struct ccs_modesel_head { */ struct scsi_lun { __u8 scsi_lun[8]; -}; +} __attribute__((aligned(8))); /* * MESSAGE CODES -- Stefan Richter -=====-=-=== -==- ==-=- http://arcgraph.de/sr/ - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html