linux/drivers/scsi/hisi_sas
Yihang Li 73e33f969e scsi: hisi_sas: Correct the number of global debugfs registers
In function debugfs_debugfs_snapshot_global_reg_v3_hw() it uses
debugfs_axi_reg.count (which is the number of axi debugfs registers) to
acquire the number of global debugfs registers.

Use debugfs_global_reg.count to acquire the number of global debugfs
registers instead.

Fixes: 623a4b6d5c ("scsi: hisi_sas: Move debugfs code to v3 hw driver")
Signed-off-by: Yihang Li <liyihang9@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Link: https://lore.kernel.org/r/1702525516-51258-6-git-send-email-chenxiang66@hisilicon.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-12-13 23:24:55 -05:00
..
hisi_sas_main.c scsi: hisi_sas: Check before using pointer variables 2023-12-13 23:24:54 -05:00
hisi_sas_v1_hw.c scsi: libsas: Delete sas_ssp_task.task_prio 2023-08-21 17:50:58 -04:00
hisi_sas_v2_hw.c Merge patch series "libsas: Some tidy-up" 2023-08-24 21:06:16 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Correct the number of global debugfs registers 2023-12-13 23:24:55 -05:00
hisi_sas.h scsi: hisi_sas: Allocate DFX memory during dump trigger 2023-09-21 22:01:28 -04:00
Kconfig scsi: hisi_sas: Enable debugfs support by default 2021-01-26 23:02:11 -05:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00