[PATCH 2/4] staging: dwc2: add missing newlines to debug messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A few debug messages were missing newlines, add them

Signed-off-by: Paul Zimmerman <paulz@xxxxxxxxxxxx>
---
 drivers/staging/dwc2/core_intr.c | 2 +-
 drivers/staging/dwc2/hcd.c       | 4 ++--
 drivers/staging/dwc2/hcd_ddma.c  | 6 +++---
 drivers/staging/dwc2/hcd_intr.c  | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/dwc2/core_intr.c b/drivers/staging/dwc2/core_intr.c
index 44c0166..4c9ad14 100644
--- a/drivers/staging/dwc2/core_intr.c
+++ b/drivers/staging/dwc2/core_intr.c
@@ -453,7 +453,7 @@ irqreturn_t dwc2_handle_common_intr(int irq, void *dev)
 	int retval = 0;
 
 	if (dwc2_check_core_status(hsotg) < 0) {
-		dev_warn(hsotg->dev, "Controller is disconnected");
+		dev_warn(hsotg->dev, "Controller is disconnected\n");
 		goto out;
 	}
 
diff --git a/drivers/staging/dwc2/hcd.c b/drivers/staging/dwc2/hcd.c
index 7a144c1..65b7348 100644
--- a/drivers/staging/dwc2/hcd.c
+++ b/drivers/staging/dwc2/hcd.c
@@ -1311,7 +1311,7 @@ static void dwc2_conn_id_status_change(struct work_struct *work)
 		}
 		if (count > 250)
 			dev_err(hsotg->dev,
-				"Connection id status change timed out");
+				"Connection id status change timed out\n");
 		hsotg->op_state = OTG_STATE_B_PERIPHERAL;
 		dwc2_core_init(hsotg, false, -1);
 		dwc2_enable_global_interrupts(hsotg);
@@ -1328,7 +1328,7 @@ static void dwc2_conn_id_status_change(struct work_struct *work)
 		}
 		if (count > 250)
 			dev_err(hsotg->dev,
-				"Connection id status change timed out");
+				"Connection id status change timed out\n");
 		hsotg->op_state = OTG_STATE_A_HOST;
 
 		/* Initialize the Core for Host mode */
diff --git a/drivers/staging/dwc2/hcd_ddma.c b/drivers/staging/dwc2/hcd_ddma.c
index d2180b2..5c0fd27 100644
--- a/drivers/staging/dwc2/hcd_ddma.c
+++ b/drivers/staging/dwc2/hcd_ddma.c
@@ -218,17 +218,17 @@ static void dwc2_update_frame_list(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh,
 	u16 i, j, inc;
 
 	if (!hsotg) {
-		pr_err("hsotg = %p", hsotg);
+		pr_err("hsotg = %p\n", hsotg);
 		return;
 	}
 
 	if (!qh->channel) {
-		dev_err(hsotg->dev, "qh->channel = %p", qh->channel);
+		dev_err(hsotg->dev, "qh->channel = %p\n", qh->channel);
 		return;
 	}
 
 	if (!hsotg->frame_list) {
-		dev_err(hsotg->dev, "hsotg->frame_list = %p",
+		dev_err(hsotg->dev, "hsotg->frame_list = %p\n",
 			hsotg->frame_list);
 		return;
 	}
diff --git a/drivers/staging/dwc2/hcd_intr.c b/drivers/staging/dwc2/hcd_intr.c
index caa31ba..a8d8c53 100644
--- a/drivers/staging/dwc2/hcd_intr.c
+++ b/drivers/staging/dwc2/hcd_intr.c
@@ -2069,7 +2069,7 @@ int dwc2_hcd_intr(struct dwc2_hsotg *hsotg)
 	int retval = 0;
 
 	if (dwc2_check_core_status(hsotg) < 0) {
-		dev_warn(hsotg->dev, "Controller is disconnected");
+		dev_warn(hsotg->dev, "Controller is disconnected\n");
 		return 0;
 	}
 
-- 
1.8.2.rc0.16.g20a599e

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux