Skip to content

Commit

Permalink
HID: add missing \n to end of dev_warn messages
Browse files Browse the repository at this point in the history
Trival fix, dev_warn messages are missing a \n, so add it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Colin Ian King authored and Jiri Kosina committed Sep 29, 2016
1 parent 46a41b5 commit 6c3f70a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/hid.h
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ __u32 hid_field_extract(const struct hid_device *hid, __u8 *report,
*/
static inline void hid_device_io_start(struct hid_device *hid) {
if (hid->io_started) {
dev_warn(&hid->dev, "io already started");
dev_warn(&hid->dev, "io already started\n");
return;
}
hid->io_started = true;
Expand All @@ -857,7 +857,7 @@ static inline void hid_device_io_start(struct hid_device *hid) {
*/
static inline void hid_device_io_stop(struct hid_device *hid) {
if (!hid->io_started) {
dev_warn(&hid->dev, "io already stopped");
dev_warn(&hid->dev, "io already stopped\n");
return;
}
hid->io_started = false;
Expand Down

0 comments on commit 6c3f70a

Please sign in to comment.