diff options
author | Yihang Li <liyihang9@huawei.com> | 2023-12-14 06:45:16 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-12-14 07:24:55 +0300 |
commit | 73e33f969ef05328766b23a99b2c07bfff765009 (patch) | |
tree | e83abd361cd9398002a3c4a3b088ae7a219aea42 /drivers/fpga/fpga-bridge.c | |
parent | 7ea3e7763c50b20a8bd25cf524ea0c6463de69be (diff) | |
download | linux-73e33f969ef05328766b23a99b2c07bfff765009.tar.xz |
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: 623a4b6d5c2a ("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>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions