aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/ds.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2008-08-03 06:15:11 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2008-08-22 20:29:57 -0400
commit926c5402c287f6d911f7d00f936f09ea00880527 (patch)
tree82885b3dd11e486a47a1b84fe36ef214269f0f96 /drivers/pcmcia/ds.c
parent69ba44331e81e4a15b504175ec70b7b4b4e5a8b9 (diff)
pcmcia: deprecate CS_BAD_ARGS
CS_BAD_ARGS mean a badly written driver or invalid userspace ioctl access, so translate that to -EINVAL. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/ds.c')
-rw-r--r--drivers/pcmcia/ds.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index 3ccf4091e877..5b24938ca154 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -78,7 +78,6 @@ static const lookup_t error_table[] = {
78 { -EIO, "Input/Output error" }, 78 { -EIO, "Input/Output error" },
79 { -ENODEV, "No card present" }, 79 { -ENODEV, "No card present" },
80 { -EINVAL, "Bad parameter" }, 80 { -EINVAL, "Bad parameter" },
81 { CS_BAD_ARGS, "Bad arguments" },
82 { -EACCES, "Configuration locked" }, 81 { -EACCES, "Configuration locked" },
83 { -EBUSY, "Resource in use" }, 82 { -EBUSY, "Resource in use" },
84 { -ENOSPC, "No more items" }, 83 { -ENOSPC, "No more items" },