linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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

* Re: [PATCH] ata: pata_samsung_cf: change ret type to signed
  2014-08-16 13:08 [PATCH] ata: pata_samsung_cf: change ret type to signed Arjun Sreedharan
@ 2014-08-16 13:11 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2014-08-16 13:11 UTC (permalink / raw)
  To: Arjun Sreedharan; +Cc: linux-ide, linux-kernel

On Sat, Aug 16, 2014 at 06:38:34PM +0530, Arjun Sreedharan wrote:
> Change return type to signed int since it could be
> a negative errno.
> 
> Signed-off-by: Arjun Sreedharan <arjun024@gmail.com>

Applied to libata/for-3.17-fixes.

Thanks.

-- 
tejun

^ permalink raw reply	[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).