mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
pcmcia: fix return value in cm4000_cs.c
should be -EINVAL, not EINVAL. Found by Peter Stuge. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
parent
42c5920821
commit
d93c768e66
1 changed files with 1 additions and 1 deletions
|
@ -1439,7 +1439,7 @@ static long cmm_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
|
|||
DEBUGP(4, dev, "CMM_ABSENT flag set\n");
|
||||
goto out;
|
||||
}
|
||||
rc = EINVAL;
|
||||
rc = -EINVAL;
|
||||
|
||||
if (_IOC_TYPE(cmd) != CM_IOC_MAGIC) {
|
||||
DEBUGP(4, dev, "ioctype mismatch\n");
|
||||
|
|
Loading…
Reference in a new issue