aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/mei/main.c')
-rw-r--r--drivers/misc/mei/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c
index 43fb52ff98ad..b281c235d898 100644
--- a/drivers/misc/mei/main.c
+++ b/drivers/misc/mei/main.c
@@ -554,8 +554,7 @@ static ssize_t mei_write(struct file *file, const char __user *ubuf,
554 mei_hdr.reserved = 0; 554 mei_hdr.reserved = 0;
555 dev_dbg(&dev->pdev->dev, "call mei_write_message header=%08x.\n", 555 dev_dbg(&dev->pdev->dev, "call mei_write_message header=%08x.\n",
556 *((u32 *) &mei_hdr)); 556 *((u32 *) &mei_hdr));
557 if (mei_write_message(dev, &mei_hdr, 557 if (mei_write_message(dev, &mei_hdr, write_cb->request_buffer.data)) {
558 write_cb->request_buffer.data, mei_hdr.length)) {
559 rets = -ENODEV; 558 rets = -ENODEV;
560 goto err; 559 goto err;
561 } 560 }