]> www.infradead.org Git - users/willy/pagecache.git/commit
ata: libata: fix parameter type of ata_deadline()
authorSergey Shtylyov <s.shtylyov@omp.ru>
Sat, 29 Jul 2023 20:17:46 +0000 (23:17 +0300)
committerDamien Le Moal <dlemoal@kernel.org>
Mon, 31 Jul 2023 00:47:30 +0000 (09:47 +0900)
commite9e94abc91b95d1233df698fc6ff74388c80ede3
tree4d9940ff3cdc923f801135591a8e1cfa23dce7c0
parent5cff2dbd980d6df90e90d56864754ccdd8c4f23f
ata: libata: fix parameter type of ata_deadline()

ata_deadline() passes its 'unsigned long timeout_msecs'  parameter verbatim
to msecs_to_jiffies() which takes just 'unsigned int' -- eliminate unneeded
implicit cast...

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
include/linux/libata.h