diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2012-09-10 17:43:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-10 18:51:15 -0400 |
commit | a4136b49fbb9a6a885618ca38e66b4967091a9ec (patch) | |
tree | cb3f6e9369efede55deb802fc33cd35143bdf2a5 /drivers/misc | |
parent | f060939d7c86344a071b03d892903f47028329cb (diff) |
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: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/mei/interrupt.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/misc/mei/interrupt.c b/drivers/misc/mei/interrupt.c index 0900a711badd..3533edde04a5 100644 --- a/drivers/misc/mei/interrupt.c +++ b/drivers/misc/mei/interrupt.c | |||
@@ -221,17 +221,10 @@ static int mei_irq_thread_read_client_message(struct mei_io_list *complete_list, | |||
221 | cl->status = 0; | 221 | cl->status = 0; |
222 | list_del(&cb_pos->cb_list); | 222 | list_del(&cb_pos->cb_list); |
223 | dev_dbg(&dev->pdev->dev, | 223 | dev_dbg(&dev->pdev->dev, |
224 | "completed read host client = %d," | 224 | "completed read H cl = %d, ME cl = %d, length = %lu\n", |
225 | "ME client = %d, " | ||
226 | "data length = %lu\n", | ||
227 | cl->host_client_id, | 225 | cl->host_client_id, |
228 | cl->me_client_id, | 226 | cl->me_client_id, |
229 | cb_pos->information); | 227 | cb_pos->information); |
230 | |||
231 | *(cb_pos->response_buffer.data + | ||
232 | cb_pos->information) = '\0'; | ||
233 | dev_dbg(&dev->pdev->dev, "cb_pos->res_buffer - %s\n", | ||
234 | cb_pos->response_buffer.data); | ||
235 | list_add_tail(&cb_pos->cb_list, | 228 | list_add_tail(&cb_pos->cb_list, |
236 | &complete_list->mei_cb.cb_list); | 229 | &complete_list->mei_cb.cb_list); |
237 | } | 230 | } |