tests_kernel.test_hid_core module
- class TestCollectionOverflow
Bases:
TestUhidTest class to test re-allocation of the HID collection stack in hid-core.c.
- create_device()
- test_rdesc()
This test can only check for negatives. If the kernel crashes, you know why. If this test passes, either the bug isn’t present or just didn’t get triggered. No way to know.
- For an explanation, see kernel patch
HID: core: replace the collection tree pointers with indices