修正 default 返回错误.
Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
parent
9c8080b634
commit
8d428d46a0
|
@ -84,7 +84,7 @@ static long demo_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
return -ENOIOCTLCMD;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue