提交 b741e8d4 编写于 作者: A Arjun Sreedharan 提交者: Tejun Heo

pata_samsung_cf: change ret type to signed

Change return type to signed int since it could be
a negative errno.
Signed-off-by: NArjun Sreedharan <arjun024@gmail.com>
Signed-off-by: NTejun Heo <tj@kernel.org>
上级 72f79f9e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册