]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/hid.h
HID: add missing \n to end of dev_warn messages
[mirror_ubuntu-artful-kernel.git] / include / linux / hid.h
index 75b66eccc69278323ce0848e3fcfa46093caf56e..b2ec82712baac8e5ead67ea20d4f55372a8e74a2 100644 (file)
@@ -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;
@@ -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;