]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla2xxx: Populate Command Type 6 LUN field properly.
authorMike Hernandez <michael.hernandez@qlogic.com>
Wed, 24 Nov 2010 00:52:46 +0000 (16:52 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 9 Dec 2010 19:24:11 +0000 (13:24 -0600)
commitce5627c2df2fe3fec63e58653d56b7d9fe8e85dc
tree45b28cc2d8cace43d9c64919604a2ab38de7ea9c
parent2d221e875740a5f19d92fbc2bc929aff2c6642cc
[SCSI] qla2xxx: Populate Command Type 6 LUN field properly.

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.

Cc: stable@kernel.org
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>
drivers/scsi/qla2xxx/qla_iocb.c
drivers/scsi/qla2xxx/qla_nx.c