hisi_sas: Add cq structure initialization
authorJohn Garry <john.garry@huawei.com>
Tue, 17 Nov 2015 16:50:37 +0000 (00:50 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2015 03:12:55 +0000 (22:12 -0500)
commit9101a0792d2ad49a0bf293d346f391c198d72843
tree646128c6da2a65b30a4c9841d5b6b06645dc2d08
parent257efd1f69dd1789b1db0f12425e31d6c05118db
hisi_sas: Add cq structure initialization

Each completion queue has a structure. This is mainly for passing to irq
handler so we know which queue the irq occured on.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c