diff options
-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: | |||
591 | goto out; | 591 | goto out; |
592 | } | 592 | } |
593 | 593 | ||
594 | senselen = be16_to_cpu(get_unaligned((__be16 *) data)); | 594 | senselen = get_unaligned_be16(data); |
595 | if (datalen < senselen) | 595 | if (datalen < senselen) |
596 | goto invalid_datalen; | 596 | goto invalid_datalen; |
597 | 597 | ||