hisi_sas: Use u64 for qw0 in free_device_v1_hw()
authorJohn Garry <john.garry@huawei.com>
Mon, 21 Dec 2015 11:35:09 +0000 (19:35 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 8 Jan 2016 17:50:54 +0000 (12:50 -0500)
commit4e09bff3301ac570cb5d68277e755f1759edfeb2
tree5caa32b52bb245e3645cb2788ca6c3914e0eb220
parent8fb88201b4303159638976c2c4c4769fc89d64d1
hisi_sas: Use u64 for qw0 in free_device_v1_hw()

By reading in itct.qw0 into a 32b variable the top 32 bits were being
lost.  In practice this was OK as they were zeroes.

Fixes: 27a3f229 ("hisi_sas: Add cq interrupt")

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Reviewed-by: Shane Seymour <shane.seymour@hpe.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c