mei: don't print buffer as a string
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 10 Sep 2012 21:43:22 +0000 (00:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 22:51:15 +0000 (15:51 -0700)
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>
drivers/misc/mei/interrupt.c

index 0900a711badda0c28010278dc9c8adde3f50c075..3533edde04a525518624111b86e3b4c76c1c699d 100644 (file)
@@ -221,17 +221,10 @@ static int mei_irq_thread_read_client_message(struct mei_io_list *complete_list,
                                cl->status = 0;
                                list_del(&cb_pos->cb_list);
                                dev_dbg(&dev->pdev->dev,
-                                       "completed read host client = %d,"
-                                       "ME client = %d, "
-                                       "data length = %lu\n",
+                                       "completed read H cl = %d, ME cl = %d, length = %lu\n",
                                        cl->host_client_id,
                                        cl->me_client_id,
                                        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,
                                        &complete_list->mei_cb.cb_list);
                        }
This page took 0.026919 seconds and 5 git commands to generate.