提交 e77c4e6a 编写于 作者: L Lisa Nguyen 提交者: Greg Kroah-Hartman

usb: misc: Fixed assignment error in if statement

Fixed the assignment error in an if statement in adutux.c
Signed-off-by: NLisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 83fc1fcd
......@@ -276,7 +276,8 @@ static int adu_open(struct inode *inode, struct file *file)
subminor = iminor(inode);
if ((retval = mutex_lock_interruptible(&adutux_mutex))) {
retval = mutex_lock_interruptible(&adutux_mutex);
if (retval) {
dbg(2, "%s : mutex lock failed", __func__);
goto exit_no_lock;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册