diff options
| author | John Garry <john.garry@huawei.com> | 2022-06-11 00:46:40 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-06-16 21:45:09 -0400 |
| commit | 98132d842d4d1ca64c829eb968ff1df53b37aead (patch) | |
| tree | 85ccbffccb254c13822b608bc72b619e9751094a /scripts/gdb/linux/timerlist.py | |
| parent | 35a7e9dbff9a25b1fd03a0a93dd1b69459e0c14e (diff) | |
scsi: pm8001: Set up tags before using them
The current code is buggy in that the tags are set up after they are needed
in pm80xx_chip_init() -> pm80xx_set_sas_protocol_timer_config(). The tag
depth is earlier read in pm80xx_chip_init() -> read_main_config_table().
Add a post init callback to do the pm80xx work which needs to be done after
reading the tags. I don't see a better way to do this.
Link: https://lore.kernel.org/r/1654879602-33497-3-git-send-email-john.garry@huawei.com
Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions
