summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-uclogic-rdesc.h
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2022-06-11 14:39:12 +0300
committerJiri Kosina <jkosina@suse.cz>2022-06-15 16:51:46 +0300
commit2d167aaba3864cf8f46b8364aa33e780de1da8f4 (patch)
tree939fdb3fb6003be1fab7a7e05d29b9ebf7a337ba /drivers/hid/hid-uclogic-rdesc.h
parent76e645be7ebecbf39ab2edd949ea7f1757f58900 (diff)
downloadlinux-2d167aaba3864cf8f46b8364aa33e780de1da8f4.tar.xz
HID: uclogic: Add KUnit tests for uclogic_rdesc_template_apply()
The uclogic_rdesc_template_apply() function is used by the driver to generate HID descriptors from templates. In order to avoid regressions in future patches, add KUnit tests to test the function. To run the tests: $ ./tools/testing/kunit/kunit.py run --kunitconfig=drivers/hid \ --kconfig_add CONFIG_VIRTIO_UML=y \ --kconfig_add CONFIG_UML_PCI_OVER_VIRTIO=y Signed-off-by: José Expósito <jose.exposito89@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-uclogic-rdesc.h')
0 files changed, 0 insertions, 0 deletions