ath9k_htc: fix minor mistakes in dev_err messages
authorColin Ian King <colin.king@canonical.com>
Mon, 31 Oct 2016 15:12:47 +0000 (09:12 -0600)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 15 Nov 2016 14:57:47 +0000 (16:57 +0200)
Add missing space in a dev_err message and join wrapped text so
it does not span multiple lines.  Fix spelling mistake on "unknown".

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/htc_hst.c

index fd85f996c5549633a56d525dc134b1f3f141ac17..8e6dae23669b422dddcb198f9c084f3928a78625 100644 (file)
@@ -244,8 +244,8 @@ int htc_connect_service(struct htc_target *target,
        /* Find an available endpoint */
        endpoint = get_next_avail_ep(target->endpoint);
        if (!endpoint) {
-               dev_err(target->dev, "Endpoint is not available for"
-                       "service %d\n", service_connreq->service_id);
+               dev_err(target->dev, "Endpoint is not available for service %d\n",
+                       service_connreq->service_id);
                return -EINVAL;
        }
 
@@ -382,7 +382,7 @@ static void ath9k_htc_fw_panic_report(struct htc_target *htc_handle,
                break;
                }
        default:
-               dev_err(htc_handle->dev, "ath: uknown panic pattern!\n");
+               dev_err(htc_handle->dev, "ath: unknown panic pattern!\n");
                break;
        }
 }