]> git.baikalelectronics.ru Git - kernel.git/commitdiff
HID: hyperv: pr_err() strings should end with newlines
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 25 Sep 2017 12:04:27 +0000 (17:34 +0530)
committerJiri Kosina <jkosina@suse.cz>
Thu, 5 Oct 2017 09:27:08 +0000 (11:27 +0200)
pr_err() messages should terminated with a new-line to avoid
other messages being concatenated onto the end.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-hyperv.c

index 6039f071fab1370da4a684e801883ef23e9706d4..3aa2bb9f0f811dbe118de6f31ce25900c33f7fd1 100644 (file)
@@ -313,7 +313,7 @@ static void mousevsc_on_receive(struct hv_device *device,
 
                break;
        default:
-               pr_err("unsupported hid msg type - type %d len %d",
+               pr_err("unsupported hid msg type - type %d len %d\n",
                       hid_msg->header.type, hid_msg->header.size);
                break;
        }