From: Devin J. Pohly <[email protected]>

~ENODEV is a different number than -ENODEV

Signed-off-by: Devin J. Pohly <[email protected]>
Signed-off-by: Tomas Winkler <[email protected]>
---
This is just resend to proper recipients

 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 8c10bf9..ce14e39 100644
--- a/drivers/staging/mei/interrupt.c
+++ b/drivers/staging/mei/interrupt.c
@@ -1279,7 +1279,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");
-- 
1.7.4.4

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to