Skip to content

Commit

Permalink
pata_samsung_cf: change ret type to signed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arjun Sreedharan authored and Tejun Heo committed Aug 17, 2014
1 parent 72f79f9 commit b741e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/pata_samsung_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b741e8d

Please sign in to comment.