summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-lg4ff.c
diff options
context:
space:
mode:
authorMichal Malý <madcatxster@devoid-pointer.net>2015-04-08 22:56:44 +0200
committerJiri Kosina <jkosina@suse.cz>2015-05-07 16:27:09 +0200
commit9c2a6bd1133f7eae42b7b4e245d2aafecaf4a082 (patch)
tree01f9acb92025c1dd05ad3d15c4d5a976eec45bd2 /drivers/hid/hid-lg4ff.c
parentHID: hid-lg4ff: Explicit casts from void * are not necessary (diff)
downloadlinux-9c2a6bd1133f7eae42b7b4e245d2aafecaf4a082.tar.xz
linux-9c2a6bd1133f7eae42b7b4e245d2aafecaf4a082.zip
HID: hid-lg4ff: Update a warning message
Update a warning message for a case where device is incorrectly flagged to be handled by hid-lg4ff in hid-lg. The original warning message was highly misleading. This warning can be triggered only if a device is flagged to be handled by hid-lg4ff in hid-lg but hid-lg4ff lacks support for such device. Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-lg4ff.c')
-rw-r--r--drivers/hid/hid-lg4ff.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c
index 5a3b3beb521a..04822fb3e330 100644
--- a/drivers/hid/hid-lg4ff.c
+++ b/drivers/hid/hid-lg4ff.c
@@ -1021,8 +1021,9 @@ int lg4ff_init(struct hid_device *hid)
}
if (i == ARRAY_SIZE(lg4ff_devices)) {
- hid_err(hid, "Device is not supported by lg4ff driver. If you think it should be, consider reporting a bug to"
- "LKML, Simon Wood <simon@mungewell.org> or Michal Maly <madcatxster@gmail.com>\n");
+ hid_err(hid, "This device is flagged to be handled by the lg4ff module but this module does not know how to handle it. "
+ "Please report this as a bug to LKML, Simon Wood <simon@mungewell.org> or "
+ "Michal Maly <madcatxster@devoid-pointer.net>\n");
return -1;
}