[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 05 May 2008 13:46:16 -0500
From: Mike Christie <michaelc@...wisc.edu>
To: Harvey Harrison <harvey.harrison@...il.com>
CC: Andrew Morton <akpm@...ux-foundation.org>,
James Bottomley <James.Bottomley@...senPartnership.com>,
LKML <linux-kernel@...r.kernel.org>,
linux-scsi <linux-scsi@...r.kernel.org>
Subject: Re: [PATCH 4/8] scsi: use get_unaligned_* helpers
Harvey Harrison wrote:
> Signed-off-by: Harvey Harrison <harvey.harrison@...il.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;
>
This looks ok. Thanks.
Signed-off-by: Mike Christie <michaelc@...wisc.edu>
If It does not get picked up by Andrew then I will send it with the
other iscsi updates when the next feature window opens.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists