[SCSI] fc-transport: Use packed modifier for fc_bsg_request structure.
authorHarish Zunjarrao <harish.zunjarrao@qlogic.com>
Tue, 12 Jan 2010 20:59:50 +0000 (12:59 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 17 Jan 2010 18:36:33 +0000 (12:36 -0600)
The 32bit kernel does not add padding bytes in the fc_bsg_request structure
whereas the 64bit kernel adds padding bytes in the fc_bsg_request structure.
Due to this, structure elements gets mismatched with 32bit application and
64bit kernel.To resolve this, used packed modifier to avoid adding padding bytes.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found