linux/drivers/scsi/hisi_sas
Yihang Li 62c904c472 scsi: hisi_sas: Correct the number of global debugfs registers
[ Upstream commit 73e33f969e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 14:52:38 -08:00
..
hisi_sas_main.c scsi: hisi_sas: Replace with standard error code return value 2024-01-25 14:52:38 -08:00
hisi_sas_v1_hw.c scsi: hisi_sas: Rename HISI_SAS_{RESET -> RESETTING}_BIT 2024-01-25 14:52:38 -08:00
hisi_sas_v2_hw.c scsi: hisi_sas: Rename HISI_SAS_{RESET -> RESETTING}_BIT 2024-01-25 14:52:38 -08:00
hisi_sas_v3_hw.c scsi: hisi_sas: Correct the number of global debugfs registers 2024-01-25 14:52:38 -08:00
hisi_sas.h scsi: hisi_sas: Rename HISI_SAS_{RESET -> RESETTING}_BIT 2024-01-25 14:52:38 -08:00
Kconfig
Makefile