mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 15:56:14 +07: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
@ -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 New Issue
Block a user