Commit a4136b49 authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman

mei: don't print buffer as a string

non readable junk was printed to the logs
we will add proper buffer dumping mechanism later if needed
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f060939d
...@@ -221,17 +221,10 @@ static int mei_irq_thread_read_client_message(struct mei_io_list *complete_list, ...@@ -221,17 +221,10 @@ static int mei_irq_thread_read_client_message(struct mei_io_list *complete_list,
cl->status = 0; cl->status = 0;
list_del(&cb_pos->cb_list); list_del(&cb_pos->cb_list);
dev_dbg(&dev->pdev->dev, dev_dbg(&dev->pdev->dev,
"completed read host client = %d," "completed read H cl = %d, ME cl = %d, length = %lu\n",
"ME client = %d, "
"data length = %lu\n",
cl->host_client_id, cl->host_client_id,
cl->me_client_id, cl->me_client_id,
cb_pos->information); cb_pos->information);
*(cb_pos->response_buffer.data +
cb_pos->information) = '\0';
dev_dbg(&dev->pdev->dev, "cb_pos->res_buffer - %s\n",
cb_pos->response_buffer.data);
list_add_tail(&cb_pos->cb_list, list_add_tail(&cb_pos->cb_list,
&complete_list->mei_cb.cb_list); &complete_list->mei_cb.cb_list);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment