qla2xxx: Populate Command Type 6 LUN field properly.
commit80cb488d71fe19df2f0883ab13bc7d1bd9d48b00
authorMike Hernandez <michael.hernandez@qlogic.com>
Wed, 24 Nov 2010 00:52:46 +0000 (23 16:52 -0800)
committerAK <andi@firstfloor.org>
Sun, 6 Feb 2011 19:03:30 +0000 (6 11:03 -0800)
tree85c9e5253c092785561b670421d4dd5a1fdb7c29
parente54e2bc342ab4be42927a81ced977ab4b83b1ee8
qla2xxx: Populate Command Type 6 LUN field properly.

commit 85727e1f78bd8392a0657ad6a4ff85fef1cc4a6d upstream.

Use the host_to_fcp_swap call to correctly populate the LUN field
in the Command Type 6 path.  This field is used during LUN reset
cleanup and must match the field used in the FCP command.

Signed-off-by: Mike Hernandez <michael.hernandez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/scsi/qla2xxx/qla_iocb.c
drivers/scsi/qla2xxx/qla_nx.c