* [PATCH] ata: pata_samsung_cf: change ret type to signed
@ 2014-08-16 13:08 Arjun Sreedharan
2014-08-16 13:11 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Arjun Sreedharan @ 2014-08-16 13:08 UTC (permalink / raw)
To: tj; +Cc: linux-ide, linux-kernel
Change return type to signed int since it could be
a negative errno.
Signed-off-by: Arjun Sreedharan <arjun024@gmail.com>
---
drivers/ata/pata_samsung_cf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ata/pata_samsung_cf.c b/drivers/ata/pata_samsung_cf.c
index fb52883..0c1c03a 100644
--- a/drivers/ata/pata_samsung_cf.c
+++ b/drivers/ata/pata_samsung_cf.c
@@ -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;
--
1.7.11.7
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-16 13:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-16 13:08 [PATCH] ata: pata_samsung_cf: change ret type to signed Arjun Sreedharan
2014-08-16 13:11 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).