From: Arjun Sreedharan Date: Sat, 16 Aug 2014 13:08:34 +0000 (+0530) Subject: pata_samsung_cf: change ret type to signed X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b741e8d4cf812da665c763e1b1c4a8fd20121565;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Tejun Heo --- diff --git a/drivers/ata/pata_samsung_cf.c b/drivers/ata/pata_samsung_cf.c index 2578fc16960a..1a24a5dc3940 100644 --- a/drivers/ata/pata_samsung_cf.c +++ b/drivers/ata/pata_samsung_cf.c @@ -360,7 +360,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;