diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2019-09-22 22:31:35 +0200 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2019-09-22 22:31:35 +0200 |
| commit | ad049d525a86eecdf86211b6913fb9e19e7ef20c (patch) | |
| tree | c312ae0b2453d01d48b4a44870feba85bc3ecb72 /drivers/hid/hid-core.c | |
| parent | 7147935a0cf693e86daeaa68811f150140ece024 (diff) | |
| parent | 0af10eed9b7308187c7865024248b2a2a5aa382a (diff) | |
Merge branch 'for-5.4/core' into for-linus
- fixes for formatting / ratelimiting kernel log by HID core, from
Joshua Clayton
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-core.c')
| -rw-r--r-- | drivers/hid/hid-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 210b81a56e1a..3eaee2c37931 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1311,8 +1311,8 @@ u32 hid_field_extract(const struct hid_device *hid, u8 *report, unsigned offset, unsigned n) { if (n > 32) { - hid_warn(hid, "hid_field_extract() called with n (%d) > 32! (%s)\n", - n, current->comm); + hid_warn_once(hid, "%s() called with n (%d) > 32! (%s)\n", + __func__, n, current->comm); n = 32; } |
