scsi: hisi_sas: Add debugfs file structure for CQ
authorLuo Jiaxing <luojiaxing@huawei.com>
Thu, 24 Oct 2019 14:08:13 +0000 (22:08 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Oct 2019 01:31:13 +0000 (21:31 -0400)
commit35ea630b2bad4fe9f7db34624eaab3663bb2cb42
tree90a4b03d64bec9fb8bb9528fa02840c1eafe7e46
parentd28ed83b769378deefa82456f962e14a4b0afadf
scsi: hisi_sas: Add debugfs file structure for CQ

Create a file structure which was used to save the memory address and CQ
pointer for CQ at debugfs. This structure is bound to the corresponding
debugfs file, it can help callback function of debugfs file to get what it
need.

Link: https://lore.kernel.org/r/1571926105-74636-7-git-send-email-john.garry@huawei.com
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
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