sata_fsl: Return non-zero on error in probe()
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 14 Jan 2009 13:02:38 +0000 (14:02 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 16 Jan 2009 15:23:58 +0000 (10:23 -0500)
commite4ac522bd7261829197a3d01d5feedb2aca8ae38
treef5164aea02d44e7f38352da14800627862d0ea25
parentbc42b24e6ef01ca7b23fafee7237882d27031614
sata_fsl: Return non-zero on error in probe()

while I was looking over kernel sources I've found this small bug.

Formerly, zero was returned even if an error happened.

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_fsl.c