summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArjun Sreedharan <arjun024@gmail.com>2014-08-16 18:38:34 +0530
committerTejun Heo <tj@kernel.org>2014-08-17 07:24:48 -0400
commitb741e8d4cf812da665c763e1b1c4a8fd20121565 (patch)
tree121546401281bf08f79763bd75d7baf306346652
parent72f79f9e35bd3f78ee8853f2fcacaa197d23ebac (diff)
downloadop-kernel-dev-b741e8d4cf812da665c763e1b1c4a8fd20121565.zip
op-kernel-dev-b741e8d4cf812da665c763e1b1c4a8fd20121565.tar.gz
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 <arjun024@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r--drivers/ata/pata_samsung_cf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_samsung_cf.c b/drivers/ata/pata_samsung_cf.c
index 2578fc1..1a24a5d 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;
OpenPOWER on IntegriCloud