Skip to content

Commit 6c3f70a

Browse files
Colin Ian KingJiri Kosina
authored andcommitted
HID: add missing \n to end of dev_warn messages
Trival fix, dev_warn messages are missing a \n, so add it. Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 46a41b5 commit 6c3f70a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/hid.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ __u32 hid_field_extract(const struct hid_device *hid, __u8 *report,
837837
*/
838838
static inline void hid_device_io_start(struct hid_device *hid) {
839839
if (hid->io_started) {
840-
dev_warn(&hid->dev, "io already started");
840+
dev_warn(&hid->dev, "io already started\n");
841841
return;
842842
}
843843
hid->io_started = true;
@@ -857,7 +857,7 @@ static inline void hid_device_io_start(struct hid_device *hid) {
857857
*/
858858
static inline void hid_device_io_stop(struct hid_device *hid) {
859859
if (!hid->io_started) {
860-
dev_warn(&hid->dev, "io already stopped");
860+
dev_warn(&hid->dev, "io already stopped\n");
861861
return;
862862
}
863863
hid->io_started = false;

0 commit comments

Comments
 (0)