Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d93c768e authored by Dominik Brodowski's avatar Dominik Brodowski
Browse files

pcmcia: fix return value in cm4000_cs.c



should be -EINVAL, not EINVAL. Found by Peter Stuge.

Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 42c59208
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");