OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f79f9
)
pata_samsung_cf: change ret type to signed
author
Arjun Sreedharan
<arjun024@gmail.com>
Sat, 16 Aug 2014 13:08:34 +0000
(18:38 +0530)
committer
Tejun Heo
<tj@kernel.org>
Sun, 17 Aug 2014 11:24:48 +0000
(07:24 -0400)
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>
drivers/ata/pata_samsung_cf.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_samsung_cf.c
b/drivers/ata/pata_samsung_cf.c
index
2578fc1
..
1a24a5d
100644
(file)
--- 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;