提交 dc91e2f1 编写于 作者: D Devin J. Pohly 提交者: Greg Kroah-Hartman

staging: mei: fix typo in error code return

~ENODEV is a different number than -ENODEV
Signed-off-by: NDevin J. Pohly <djpohly@gmail.com>
Signed-off-by: NTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 ca923ef9
......@@ -1280,7 +1280,7 @@ static int mei_irq_thread_write_handler(struct mei_io_list *cmpl_list,
}
}
if (dev->stop)
return ~ENODEV;
return -ENODEV;
/* complete control write list CB */
dev_dbg(&dev->pdev->dev, "complete control write list cb.\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册