summaryrefslogtreecommitdiff
path: root/include/scsi/scsi_transport_fc.h
diff options
context:
space:
mode:
authorRoland Dreier <rdreier@cisco.com>2006-04-18 16:05:39 (GMT)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-04-28 15:14:15 (GMT)
commitec448a0a361ce3fa97a32a5c267a680163ffe8c5 (patch)
tree532cb2e9c85d16f7b57236344a8a0cb9d8d5474b /include/scsi/scsi_transport_fc.h
parente5dbfa6621732a110514fb10f9a43f0e8f4befd4 (diff)
downloadlinux-ec448a0a361ce3fa97a32a5c267a680163ffe8c5.tar.xz
[SCSI] srp.h: avoid padding of structs
Several structs in <scsi/srp.h> get padded to a multiple of 8 bytes on 64-bit architectures and end up with a size that does not match the definition in the SRP spec: SRP spec 64-bit sizeof (struct indirect_buf) 20 24 sizeof (struct srp_login_rsp) 52 56 sizeof (struct srp_rsp) 36 40 Fix this by adding __attribute__((packed)) to the offending structs. Problem pointed out by Arne Redlich <arne.redlich@xiranet.com>. Signed-off-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi/scsi_transport_fc.h')
0 files changed, 0 insertions, 0 deletions