ata: pata_samsung_cf: change ret type to signed
PATCH 1/1 ata: pata_samsung_cf: change ret type to signed
Change return type to signed int since it could be a negative errno.
Signed-off-by Arjun Sreedharan <[email protected]>
--- drivers/ata/pata_samsung_cf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/pata_samsung_cf.c +1 -1
@@ -361,7 +361,7 @@ static int pata_s3c_wait_after_reset(struct ata_link *link,/* * pata_s3c_bus_softreset - PATA device software reset */ -static unsigned int pata_s3c_bus_softreset (struct ata_port *ap, +static int pata_s3c_bus_softreset (struct ata_port *ap,unsigned long deadline) {struct ata_ioports *ioaddr = &ap->ioaddr;
Signature · 1 line
1.7.11.7
Tejun Heo
AppliedQuoted 4 lines · Arjun Sreedharan
Change return type to signed int since it could be a negative errno.
Signed-off-by Arjun Sreedharan <[email protected]>
Applied to libata/for-3.17-fixes.
Thanks.
Signature · 1 line
tejun