Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pata_samsung_cf: change ret type to signed

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>

authored by

Arjun Sreedharan and committed by
Tejun Heo
b741e8d4 72f79f9e

+1 -1
+1 -1
drivers/ata/pata_samsung_cf.c
··· 360 360 /* 361 361 * pata_s3c_bus_softreset - PATA device software reset 362 362 */ 363 - static unsigned int pata_s3c_bus_softreset(struct ata_port *ap, 363 + static int pata_s3c_bus_softreset(struct ata_port *ap, 364 364 unsigned long deadline) 365 365 { 366 366 struct ata_ioports *ioaddr = &ap->ioaddr;