修正 default 返回错误.

Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
ithink.chan 2019-10-21 11:14:52 +08:00
parent 9c8080b634
commit 8d428d46a0
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }