OSDN Git Service

scsi: qla2xxx: Rework key encoding in qlt_find_host_by_d_id()
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:02:03 +0000 (20:02 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:08 +0000 (21:34 -0400)
commitaa20e38bf567ff81a7778c769be6f5cea098174b
treeda582d796f9d924fe21b2850a610ee28598bf2b1
parent0f8243e64682b270bad6c58a136a1acd777fcfc3
scsi: qla2xxx: Rework key encoding in qlt_find_host_by_d_id()

Use the same approach for encoding the destination ID as the approach used
by qlt_update_vp_map().

Cc: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_target.c