ata: libahci: fix parameter type of ahci_exec_polled_cmd()
authorSergey Shtylyov <s.shtylyov@omp.ru>
Sat, 29 Jul 2023 20:17:51 +0000 (23:17 +0300)
committerDamien Le Moal <dlemoal@kernel.org>
Wed, 2 Aug 2023 08:37:07 +0000 (17:37 +0900)
commitcc26436452de7599d1e561291dfeaae1004cc610
tree95ed9442d18f7f97f03a11560a039c59fa22b6a4
parent8c12536378085ed42e2f2b8223fcf82edda6c1c9
ata: libahci: fix parameter type of ahci_exec_polled_cmd()

ahci_exec_polled_cmd() passes its 'unsigned long timeout_msec' parameter
to ata_wait_register() that now takes 'unsigned int' -- eliminate unneeded
implicit casts, not forgetting about ahci_do_softreset()...

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/libahci.c