[PATCH 04/14] scsi: use get_unaligned_* helpers

Harvey Harrison
2008-05-02T19:08:53Z

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
drivers/scsi/libiscsi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi/libiscsi.c
index 010c1b9..7646e86 100644
--- a/drivers/scsi/libiscsi.c
+++ b/drivers/scsi/libiscsi.c
@@ -508,7 +508,7 @@ invalid_datalen:
goto out;
}

- senselen = be16_to_cpu(get_unaligned((__be16 *) data));
+ senselen = get_unaligned_be16(data);
if (datalen < senselen)
goto invalid_datalen;

--
1.5.5.1.350.gbbbf