Commit 8f333991 authored by Harvey Harrison's avatar Harvey Harrison Committed by James Bottomley

[SCSI] scsi: use get_unaligned_* helpers

Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 3a12b199
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment