Re: [PATCH] HID: core: Fix deadloop in hid_apply_multiplier.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 30 Jan 2023 21:29:47 +0000, Xin Zhao wrote:
> The initial value of hid->collection[].parent_idx if 0. When
> Report descriptor doesn't contain "HID Collection", the value
> remains as 0.
> 
> In the meanwhile, when the Report descriptor fullfill
> all following conditions, it will trigger hid_apply_multiplier
> function call.
> 1. Usage page is Generic Desktop Ctrls (0x01)
> 2. Usage is RESOLUTION_MULTIPLIER (0x48)
> 3. Contain any FEATURE items
> 
> [...]

Applied to hid/hid.git (for-6.2/upstream-fixes), thanks!

[1/1] HID: core: Fix deadloop in hid_apply_multiplier.
      https://git.kernel.org/hid/hid/c/ea427a222d8b

Cheers,
-- 
Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux