diff options
author | Sergey Shtylyov <s.shtylyov@omp.ru> | 2023-07-29 23:17:48 +0300 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2023-08-02 11:37:06 +0300 |
commit | ca02f22516dd0f0a4842ec27916160b4b8fd3e5a (patch) | |
tree | 71f7abde223eec24087419b021599093050f49ca /drivers/ata/sata_nv.c | |
parent | 84abed36d7de7145d393f9d5d05b36717e0cb49d (diff) | |
download | linux-ca02f22516dd0f0a4842ec27916160b4b8fd3e5a.tar.xz |
ata: libata-eh: fix reset timeout type
ata_eh_reset_timeouts[] stores 'unsigned long' timeouts in ms, while
ata_eh_reset() passes these values to ata_deadline() that takes just
'unsigned int timeout_msecs' parameter. Change the reset timeout table
element's type to 'unsigned int' -- all timeouts fit into 'unsigned int'
but we have to change ULONG_MAX to UINT_MAX...
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'drivers/ata/sata_nv.c')
0 files changed, 0 insertions, 0 deletions