[PATCH]: Fix pcmcia_validate_cis() error reporting in pcmciamtd
Pavel Roskin
proski at gnu.org
Tue Sep 27 15:55:33 EDT 2005
Hello!
pcmciamtd driver reports errors from pcmcia_validate_cis() incorrectly.
Signed-off-by: Pavel Roskin <proski at gnu.org>
--- drivers/mtd/maps/pcmciamtd.c
+++ drivers/mtd/maps/pcmciamtd.c
@@ -513,7 +513,7 @@ static void pcmciamtd_config(dev_link_t
DEBUG(2, "Validating CIS");
ret = pcmcia_validate_cis(link->handle, &cisinfo);
if(ret != CS_SUCCESS) {
- cs_error(link->handle, GetTupleData, ret);
+ cs_error(link->handle, ValidateCIS, ret);
} else {
DEBUG(2, "ValidateCIS found %d chains", cisinfo.Chains);
}
--
Regards,
Pavel Roskin
More information about the linux-pcmcia
mailing list