diff options
| author | Xiang Chen <[email protected]> | 2024-04-02 03:55:13 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2024-04-06 01:47:38 +0000 |
| commit | 0098c55e0881f0b32591f2110410d5c8b7f9bd5a (patch) | |
| tree | f08c1cd030757b534d3d72d928abd974e6aae71f /net/unix/af_unix.c | |
| parent | scsi: hisi_sas: Handle the NCQ error returned by D2H frame (diff) | |
| download | kernel-0098c55e0881f0b32591f2110410d5c8b7f9bd5a.tar.gz kernel-0098c55e0881f0b32591f2110410d5c8b7f9bd5a.zip | |
scsi: hisi_sas: Modify the deadline for ata_wait_after_reset()
We found that the second parameter of function ata_wait_after_reset() is
incorrectly used. We call smp_ata_check_ready_type() to poll the device
type until the 30s timeout, so the correct deadline should be (jiffies +
30000).
Fixes: 3c2673a09cf1 ("scsi: hisi_sas: Fix SATA devices missing issue during I_T nexus reset")
Co-developed-by: xiabing <[email protected]>
Signed-off-by: xiabing <[email protected]>
Co-developed-by: Yihang Li <[email protected]>
Signed-off-by: Yihang Li <[email protected]>
Signed-off-by: Xiang Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
