OSDN Git Service

ata: libata-scsi: fix timeout type in ata_scsi_park_store()
authorSergey Shtylyov <s.shtylyov@omp.ru>
Sat, 29 Jul 2023 20:17:50 +0000 (23:17 +0300)
committerDamien Le Moal <dlemoal@kernel.org>
Wed, 2 Aug 2023 08:37:06 +0000 (17:37 +0900)
commit8c12536378085ed42e2f2b8223fcf82edda6c1c9
treee4ee37a57455abd0e4e75f872286ebc02930265e
parentd14d41cc5aaef138face9d5a145b460e2b63697a
ata: libata-scsi: fix timeout type in ata_scsi_park_store()

ata_scsi_park_store() passes its 'long input' variable (if it's >= 0) to
ata_deadline() that now takes 'unsigned int' -- eliminate unneeded implicit
cast...

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