<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/hid, branch v5.6</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.6</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2020-03-17T16:38:03Z</updated>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid</title>
<updated>2020-03-17T16:38:03Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2020-03-17T16:38:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ac309e7744bee222df6de0122facaf2d9706fa70'/>
<id>urn:sha1:ac309e7744bee222df6de0122facaf2d9706fa70</id>
<content type='text'>
Pull HID fixes from Jiri Kosina:

 - string buffer formatting fixes in picolcd and sensor drivers, from
   Takashi Iwai

 - two new device IDs from Chen-Tsung Hsieh and Tony Fischetti

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid:
  HID: add ALWAYS_POLL quirk to lenovo pixart mouse
  HID: google: add moonball USB id
  HID: hid-sensor-custom: Use scnprintf() for avoiding potential buffer overflow
  HID: hid-picolcd_fb: Use scnprintf() for avoiding potential buffer overflow
</content>
</entry>
<entry>
<title>HID: add ALWAYS_POLL quirk to lenovo pixart mouse</title>
<updated>2020-03-16T21:33:20Z</updated>
<author>
<name>Tony Fischetti</name>
<email>tony.fischetti@gmail.com</email>
</author>
<published>2020-03-12T16:16:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=819d578d51d0ce73f06e35d69395ef55cd683a74'/>
<id>urn:sha1:819d578d51d0ce73f06e35d69395ef55cd683a74</id>
<content type='text'>
A lenovo pixart mouse (17ef:608d) is afflicted common the the malfunction
where it disconnects and reconnects every minute--each time incrementing
the device number. This patch adds the device id of the device and
specifies that it needs the HID_QUIRK_ALWAYS_POLL quirk in order to
work properly.

Signed-off-by: Tony Fischetti &lt;tony.fischetti@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: google: add moonball USB id</title>
<updated>2020-03-16T13:51:05Z</updated>
<author>
<name>Chen-Tsung Hsieh</name>
<email>chentsung@chromium.org</email>
</author>
<published>2020-03-16T07:24:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=58322a1590fc189a8e1e349d309637d4a4942840'/>
<id>urn:sha1:58322a1590fc189a8e1e349d309637d4a4942840</id>
<content type='text'>
Add 1 additional hammer-like device.

Signed-off-by: Chen-Tsung Hsieh &lt;chentsung@chromium.org&gt;
Reviewed-by: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: hid-sensor-custom: Use scnprintf() for avoiding potential buffer overflow</title>
<updated>2020-03-11T10:58:58Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2020-03-11T07:38:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=62a1a58039595698f644f560f00105bb4d5f5c7f'/>
<id>urn:sha1:62a1a58039595698f644f560f00105bb4d5f5c7f</id>
<content type='text'>
Since snprintf() returns the would-be-output size instead of the
actual output size, the succeeding calls may go beyond the given
buffer limit.  Fix it by replacing with scnprintf().

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: hid-picolcd_fb: Use scnprintf() for avoiding potential buffer overflow</title>
<updated>2020-03-11T10:58:58Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2020-03-11T07:37:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=42f502dfe132edb8d7a47e6c0641ed82d718ad0b'/>
<id>urn:sha1:42f502dfe132edb8d7a47e6c0641ed82d718ad0b</id>
<content type='text'>
Since snprintf() returns the would-be-output size instead of the
actual output size, the succeeding calls may go beyond the given
buffer limit.  Fix it by replacing with scnprintf().

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: hyperv: NULL check before some freeing functions is not needed.</title>
<updated>2020-03-05T14:17:11Z</updated>
<author>
<name>Lucas Tanure</name>
<email>tanure@linux.com</email>
</author>
<published>2020-02-29T17:30:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5313b2a58ef02e2b077d7ae8088043609e3155b0'/>
<id>urn:sha1:5313b2a58ef02e2b077d7ae8088043609e3155b0</id>
<content type='text'>
Fix below warnings reported by coccicheck:
drivers/hid/hid-hyperv.c:197:2-7: WARNING: NULL check before some freeing functions is not needed.
drivers/hid/hid-hyperv.c:211:2-7: WARNING: NULL check before some freeing functions is not needed.

Signed-off-by: Lucas Tanure &lt;tanure@linux.com&gt;
Reviewed-by: Michael Kelley &lt;mikelley@microsoft.com&gt;
Reviewed-by: Wei Liu &lt;wei.liu@kernel.org&gt;
Acked-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Wei Liu &lt;wei.liu@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid</title>
<updated>2020-02-27T19:13:27Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2020-02-27T19:13:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=278de45e145bedff90072fb47bafdde8393f6a80'/>
<id>urn:sha1:278de45e145bedff90072fb47bafdde8393f6a80</id>
<content type='text'>
Pull HID subsystem fixes from Jiri Kosina:

 - syzkaller-reported error handling fixes in various drivers, from
   various people

 - increase of HID report buffer size to 8K, which is apparently needed
   by certain modern devices

 - a few new device-ID-specific fixes / quirks

 - battery charging status reporting fix in logitech-hidpp, from Filipe
   Laíns

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid:
  HID: hid-bigbenff: fix race condition for scheduled work during removal
  HID: hid-bigbenff: call hid_hw_stop() in case of error
  HID: hid-bigbenff: fix general protection fault caused by double kfree
  HID: i2c-hid: add Trekstor Surfbook E11B to descriptor override
  HID: alps: Fix an error handling path in 'alps_input_configured()'
  HID: hiddev: Fix race in in hiddev_disconnect()
  HID: core: increase HID report buffer size to 8KiB
  HID: core: fix off-by-one memset in hid_report_raw_event()
  HID: apple: Add support for recent firmware on Magic Keyboards
  HID: ite: Only bind to keyboard USB interface on Acer SW5-012 keyboard dock
  HID: logitech-hidpp: BatteryVoltage: only read chargeStatus if extPower is active
</content>
</entry>
<entry>
<title>HID: hid-bigbenff: fix race condition for scheduled work during removal</title>
<updated>2020-02-18T13:43:51Z</updated>
<author>
<name>Hanno Zulla</name>
<email>kontakt@hanno.de</email>
</author>
<published>2020-02-18T11:39:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4eb1b01de5b9d8596d6c103efcf1a15cfc1bedf7'/>
<id>urn:sha1:4eb1b01de5b9d8596d6c103efcf1a15cfc1bedf7</id>
<content type='text'>
It's possible that there is scheduled work left while the device is
already being removed, which can cause a kernel crash. Adding a flag
will avoid this.

Signed-off-by: Hanno Zulla &lt;kontakt@hanno.de&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
</content>
</entry>
<entry>
<title>HID: hid-bigbenff: call hid_hw_stop() in case of error</title>
<updated>2020-02-18T13:43:48Z</updated>
<author>
<name>Hanno Zulla</name>
<email>kontakt@hanno.de</email>
</author>
<published>2020-02-18T11:38:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=976a54d0f4202cb412a3b1fc7f117e1d97db35f3'/>
<id>urn:sha1:976a54d0f4202cb412a3b1fc7f117e1d97db35f3</id>
<content type='text'>
It's required to call hid_hw_stop() once hid_hw_start() was called
previously, so error cases need to handle this. Also, hid_hw_close() is
not necessary during removal.

Signed-off-by: Hanno Zulla &lt;kontakt@hanno.de&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
</content>
</entry>
<entry>
<title>HID: hid-bigbenff: fix general protection fault caused by double kfree</title>
<updated>2020-02-18T13:43:45Z</updated>
<author>
<name>Hanno Zulla</name>
<email>kontakt@hanno.de</email>
</author>
<published>2020-02-18T11:37:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=789a2c250340666220fa74bc6c8f58497e3863b3'/>
<id>urn:sha1:789a2c250340666220fa74bc6c8f58497e3863b3</id>
<content type='text'>
The struct *bigben was allocated via devm_kzalloc() and then used as a
parameter in input_ff_create_memless(). This caused a double kfree
during removal of the device, since both the managed resource API and
ml_ff_destroy() in drivers/input/ff-memless.c would call kfree() on it.

Signed-off-by: Hanno Zulla &lt;kontakt@hanno.de&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
</content>
</entry>
</feed>
