staging: mei: fix typo in error code return
~ENODEV is a different number than -ENODEV Signed-off-by: Devin J. Pohly <djpohly@gmail.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
ca923ef927
Коммит
dc91e2f1c0
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче