linux/include/scsi
Roland Dreier ec448a0a36 [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>
2006-04-28 10:14:15 -05:00
..
iscsi_if.h [SCSI] iscsi update: cleanup iscsi class interface 2006-02-04 16:17:03 -06:00
iscsi_proto.h
scsi_cmnd.h [SCSI] Neaten comments in scsi_cmnd.h 2006-02-27 22:55:02 -06:00
scsi_dbg.h
scsi_device.h [SCSI] add scsi_mode_select to scsi_lib.c 2006-03-19 10:19:14 -06:00
scsi_devinfo.h [SCSI] add SCSI_UNKNOWN and LUN transfer limit restrictions 2006-04-13 10:13:31 -05:00
scsi_driver.h
scsi_eh.h [PATCH] SCSI: export scsi_eh_finish_cmd() and scsi_eh_flush_done_q() 2006-01-26 22:36:28 -05:00
scsi_host.h [PATCH] move ->eh_strategy_handler to the transport class 2006-04-10 14:15:47 -04:00
scsi_ioctl.h [SCSI] unify SCSI_IOCTL_SEND_COMMAND implementations 2006-04-13 10:13:15 -05:00
scsi_request.h
scsi_tcq.h
scsi_transport_fc.h [SCSI] FC transport: fixes for workq deadlocks 2006-04-13 13:25:16 -05:00
scsi_transport_iscsi.h [SCSI] iscsi update: cleanup iscsi class interface 2006-02-04 16:17:03 -06:00
scsi_transport_sas.h [SCSI] eliminate rphy allocation in favour of expander/end device allocation 2006-03-19 10:21:16 -06:00
scsi_transport_spi.h [SCSI] Add spi_populate_*_msg functions 2006-02-27 22:55:09 -06:00
scsi_transport.h [PATCH] move ->eh_strategy_handler to the transport class 2006-04-10 14:15:47 -04:00
scsi.h [SCSI] fix scsi process problems and clean up the target reap issues 2006-02-27 23:37:45 -06:00
scsicam.h
sg_request.h
sg.h
srp.h [SCSI] srp.h: avoid padding of structs 2006-04-28 10:14:15 -05:00