From: Devin J. Pohly Date: Mon, 27 Feb 2012 18:32:53 +0000 (+0200) Subject: staging: mei: fix typo in error code return X-Git-Tag: MMI-PSA29.97-13-9~17268^2~99 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dc91e2f1c01a579e055ebd25c32c1628041b0eca;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: mei: fix typo in error code return ~ENODEV is a different number than -ENODEV Signed-off-by: Devin J. Pohly Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/mei/interrupt.c b/drivers/staging/mei/interrupt.c index 3c21c93af8ea..8a9044ba3573 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");