提交 d93c768e 编写于 作者: D Dominik Brodowski

pcmcia: fix return value in cm4000_cs.c

should be -EINVAL, not EINVAL. Found by Peter Stuge.
Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
上级 42c59208
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册