diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-05-21 22:54:20 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 15:22:23 +0200 |
commit | 8f333991ba8479fe8a9d72aea978db415e3c2f2a (patch) | |
tree | 22dde9fb3dce2915b49e6e15712dcd28a6dec19c /drivers/scsi/libiscsi.c | |
parent | [SCSI] Replace __FUNCTION__ with __func__ in iscsi_tcp. (diff) | |
download | linux-8f333991ba8479fe8a9d72aea978db415e3c2f2a.tar.xz linux-8f333991ba8479fe8a9d72aea978db415e3c2f2a.zip |
[SCSI] scsi: use get_unaligned_* helpers
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/libiscsi.c')
-rw-r--r-- | 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 9c267b440444..8b4e412a0974 100644 --- a/drivers/scsi/libiscsi.c +++ b/drivers/scsi/libiscsi.c @@ -591,7 +591,7 @@ invalid_datalen: goto out; } - senselen = be16_to_cpu(get_unaligned((__be16 *) data)); + senselen = get_unaligned_be16(data); if (datalen < senselen) goto invalid_datalen; |