summaryrefslogtreecommitdiff
path: root/drivers/ata/sata_nv.c
diff options
context:
space:
mode:
authorSergey Shtylyov <s.shtylyov@omp.ru>2023-07-29 23:17:48 +0300
committerDamien Le Moal <dlemoal@kernel.org>2023-08-02 11:37:06 +0300
commitca02f22516dd0f0a4842ec27916160b4b8fd3e5a (patch)
tree71f7abde223eec24087419b021599093050f49ca /drivers/ata/sata_nv.c
parent84abed36d7de7145d393f9d5d05b36717e0cb49d (diff)
downloadlinux-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