diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2012-02-27 18:32:53 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-29 23:43:19 (GMT) |
commit | dc91e2f1c01a579e055ebd25c32c1628041b0eca (patch) | |
tree | 72b6fa1cd8c6c6f0a902b973f485e28f80c1e08f | |
parent | ca923ef9276040e4434153e915907cf1028fe9e3 (diff) | |
download | linux-dc91e2f1c01a579e055ebd25c32c1628041b0eca.tar.xz |
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>
-rw-r--r-- | drivers/staging/mei/interrupt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mei/interrupt.c b/drivers/staging/mei/interrupt.c index 3c21c93..8a9044b 100644 --- a/drivers/staging/mei/interrupt.c +++ b/drivers/staging/mei/interrupt.c @@ -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"); |