aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-09-27 14:58:44 -0400
committerJiri Kosina <jkosina@suse.cz>2016-09-29 04:40:13 -0400
commit6c3f70ac7c6b4a29b6905be879282628e65f50dd (patch)
tree2296735519f6596422ddfd5a88b00bc412b7e9fb
parent46a41b512f6800b531e94bdf5f1ca0e226492d91 (diff)
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 <colin.king@canonical.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--include/linux/hid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index 75b66eccc692..b2ec82712baa 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -837,7 +837,7 @@ __u32 hid_field_extract(const struct hid_device *hid, __u8 *report,
837 */ 837 */
838static inline void hid_device_io_start(struct hid_device *hid) { 838static inline void hid_device_io_start(struct hid_device *hid) {
839 if (hid->io_started) { 839 if (hid->io_started) {
840 dev_warn(&hid->dev, "io already started"); 840 dev_warn(&hid->dev, "io already started\n");
841 return; 841 return;
842 } 842 }
843 hid->io_started = true; 843 hid->io_started = true;
@@ -857,7 +857,7 @@ static inline void hid_device_io_start(struct hid_device *hid) {
857 */ 857 */
858static inline void hid_device_io_stop(struct hid_device *hid) { 858static inline void hid_device_io_stop(struct hid_device *hid) {
859 if (!hid->io_started) { 859 if (!hid->io_started) {
860 dev_warn(&hid->dev, "io already stopped"); 860 dev_warn(&hid->dev, "io already stopped\n");
861 return; 861 return;
862 } 862 }
863 hid->io_started = false; 863 hid->io_started = false;