target/iscsi: Fix mutual CHAP auth on big-endian arches
authorAndy Grover <agrover@redhat.com>
Mon, 4 Mar 2013 21:52:09 +0000 (13:52 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 18 Mar 2013 19:31:21 +0000 (12:31 -0700)
commit7ac9ad11b2a5cf77a92b58ee6b672ad2fa155eb1
treef136b6e2d6c62892888261e705b1a77f325aba17
parent882e3f8e6966109ad837cfe79e97cf3deb3ae19b
target/iscsi: Fix mutual CHAP auth on big-endian arches

See https://bugzilla.redhat.com/show_bug.cgi?id=916290

Used a temp var since we take its address in sg_init_one.

Signed-off-by: Andy Grover <agrover@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_auth.c