]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hisi_sas: Increase debugfs_dump_index after dump is completed
authorLuo Jiaxing <luojiaxing@huawei.com>
Tue, 24 Aug 2021 10:01:00 +0000 (18:01 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 14 Sep 2021 03:56:02 +0000 (23:56 -0400)
commit8373358c8d6027edb9f2e061d10a29b078c0e3b8
tree3400d4fd776551eb86ee8f592a329190827e4fa5
parent17f2a5d2675e17ce4bb2d525443e64233e56651f
scsi: hisi_sas: Increase debugfs_dump_index after dump is completed

The hisi_hba debugfs_dump_index member should increased after a dump
insertion completed, and not before it has started, so fix the code to do
so.

Link: https://lore.kernel.org/r/1629799260-120116-6-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_v3_hw.c