diff options
author | Mark Haverkamp <markh@osdl.org> | 2005-10-24 13:52:02 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-10-28 12:23:16 -0400 |
commit | 9f30a323a4ad96a3867279e0cdea7e2362dca2ee (patch) | |
tree | e071657ce564844d0727360c52430a37bcf73277 /drivers/scsi/aacraid/commctrl.c | |
parent | 794d0601e7a379f0188655115a3642f1e326116f (diff) |
[SCSI] aacraid: fix struct element cpu order
Received from Mark Salyzyn.
The compat field needed to be in cpu order.
Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/commctrl.c')
-rw-r--r-- | drivers/scsi/aacraid/commctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/commctrl.c b/drivers/scsi/aacraid/commctrl.c index 71f1cad9b5f0..0459ba7b5bdb 100644 --- a/drivers/scsi/aacraid/commctrl.c +++ b/drivers/scsi/aacraid/commctrl.c | |||
@@ -408,7 +408,7 @@ static int check_revision(struct aac_dev *dev, void __user *arg) | |||
408 | char *driver_version = aac_driver_version; | 408 | char *driver_version = aac_driver_version; |
409 | u32 version; | 409 | u32 version; |
410 | 410 | ||
411 | response.compat = cpu_to_le32(1); | 411 | response.compat = 1; |
412 | version = (simple_strtol(driver_version, | 412 | version = (simple_strtol(driver_version, |
413 | &driver_version, 10) << 24) | 0x00000400; | 413 | &driver_version, 10) << 24) | 0x00000400; |
414 | version += simple_strtol(driver_version + 1, &driver_version, 10) << 16; | 414 | version += simple_strtol(driver_version + 1, &driver_version, 10) << 16; |