]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Mar 2013 19:12:13 +0000 (12:12 -0700)
commit6e8d94de159e7520e6ff1ecaf8419844b93631e7
tree8f6a2bfb1a240d3822937f181a86bce30e2d8e73
parentbea7cce4319edd8c15d78833f9b5bb752f997662
target/iscsi: Fix mutual CHAP auth on big-endian arches

commit 7ac9ad11b2a5cf77a92b58ee6b672ad2fa155eb1 upstream.

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>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/target/iscsi/iscsi_target_auth.c