scsi: hisi_sas: print device id for errors
authorJohn Garry <john.garry@huawei.com>
Fri, 23 Mar 2018 16:05:14 +0000 (00:05 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 18 Apr 2018 23:32:51 +0000 (19:32 -0400)
commit381ed6c081ae423b03d82ce1a0bb79bbec2b033e
tree8ce752f5b0f27f9b35a5b7120bd015bf35d97402
parent327f242fa806c199a183c2197592e94d336c8266
scsi: hisi_sas: print device id for errors

When we find an erroneous slot completion, to help aid debugging add the
device index to the current debug log.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c