aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/pcmcia_ioctl.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2008-08-03 06:22:40 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2008-08-22 20:34:28 -0400
commit3f9c5f4cb7e00d424a56a6431e9c98b3b17851e4 (patch)
treeccb419c84db114cb2eecc9653b8283d77a3268f6 /drivers/pcmcia/pcmcia_ioctl.c
parent926c5402c287f6d911f7d00f936f09ea00880527 (diff)
pcmcia: deprecate CS_BAD_TUPLE
CS_BAD_TUPLE was used to denote a bad tuple being passed to the parse function. Therefore, replace it with -EINVAL and a verbose message. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/pcmcia_ioctl.c')
-rw-r--r--drivers/pcmcia/pcmcia_ioctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pcmcia/pcmcia_ioctl.c b/drivers/pcmcia/pcmcia_ioctl.c
index f2352c227570..d4c3f9aa3d83 100644
--- a/drivers/pcmcia/pcmcia_ioctl.c
+++ b/drivers/pcmcia/pcmcia_ioctl.c
@@ -970,8 +970,6 @@ static int ds_ioctl(struct inode * inode, struct file * file,
970 case -ENOSYS: 970 case -ENOSYS:
971 err = ret; 971 err = ret;
972 break; 972 break;
973 case CS_BAD_TUPLE:
974 err = -EINVAL; break;
975 case -ENOMEM: 973 case -ENOMEM:
976 err = -ENOSPC; break; 974 err = -ENOSPC; break;
977 case -ENOSPC: 975 case -ENOSPC: