linux/drivers
José Expósito 2d167aaba3 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>
2022-06-15 15:51:46 +02:00
..
accessibility
acpi Linux 5.18-rc5 2022-05-11 16:27:06 +02:00
amba ARM: 9192/1: amba: fix memory leak in amba_device_try_add() 2022-05-20 12:32:31 +01:00
android binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0 2022-04-22 17:22:51 +02:00
ata ata changes for 5.19-rc1 2022-05-23 14:14:50 -07:00
atm Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-03-17 13:56:58 -07:00
auxdisplay auxdisplay: lcd2s: Use array size explicitly in lcd2s_gotoxy() 2022-03-18 20:31:14 +01:00
base regmap: Updates for v5.19 2022-05-24 15:02:58 -07:00
bcma Core MTD changes: 2022-03-25 13:35:34 -07:00
block xen: branch for v5.19-rc1 2022-05-23 20:49:45 -07:00
bluetooth Bluetooth: ath3k: remove superfluous header files 2022-03-18 17:12:09 +01:00
bus - Fix locking when accessing device MSI descriptors 2022-05-01 09:30:47 -07:00
cdrom cdrom: remove obsolete TODO list 2022-05-15 18:31:28 -06:00
char Fixes for IPMI 2022-05-24 14:50:54 -07:00
clk clk: at91: generated: consider range when calculating best rate 2022-05-17 12:41:07 -07:00
clocksource clocksource/drivers: Add a goldfish-timer clocksource 2022-04-11 11:48:01 +02:00
comedi
connector
counter Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
cpufreq cpufreq: qcom-cpufreq-hw: Clear dcvs interrupts 2022-04-26 12:08:31 +05:30
cpuidle cpuidle: riscv: support non-SMP config 2022-04-19 17:42:08 -07:00
crypto crypto: caam - add in-kernel interface for blob generator 2022-05-23 18:47:50 +03:00
cxl cxl/pci: Drop shadowed variable 2022-04-08 12:59:43 -07:00
dax dax for 5.18 2022-03-24 18:12:09 -07:00
dca
devfreq
dio
dma dmaengine: idxd: skip clearing device context when device is read-only 2022-04-20 17:24:43 +05:30
dma-buf dma-buf: ensure unique directory name for dmabuf stats 2022-05-13 13:35:10 +02:00
edac - A gargen variety of fixes which don't fit any other tip bucket: 2022-05-23 19:32:59 -07:00
eisa
extcon
firewire firewire: core: extend card->lock in fw_core_handle_bus_reset 2022-04-25 08:01:09 +02:00
firmware - Switch ghes_edac to use the CPER error reporting routines and simplify 2022-05-23 17:34:20 -07:00
fpga
fsi
gnss
gpio Updates for interrupt core and drivers: 2022-05-23 16:58:49 -07:00
gpu xen: branch for v5.19-rc1 2022-05-23 20:49:45 -07:00
greybus
hid HID: uclogic: Add KUnit tests for uclogic_rdesc_template_apply() 2022-06-15 15:51:46 +02:00
hsi
hv hyperv-fixes for 5.18-rc2 2022-04-07 06:35:34 -10:00
hwmon hwmon: (aquacomputer_d5next) Fix an error handling path in aqc_probe() 2022-05-22 12:25:55 -07:00
hwspinlock hwspinlock: sprd: Use struct_size() helper in devm_kzalloc() 2022-03-11 14:56:57 -06:00
hwtracing Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
i2c drivers: i2c: thunderx: Allow driver to work with ACPI defined TWSI controllers 2022-05-21 13:41:28 +02:00
i3c i3c: fix uninitialized variable use in i2c setup 2022-03-08 22:33:52 +01:00
idle intel_idle: Fix SPR C6 optimization 2022-04-27 20:36:47 +02:00
iio iio: imu: inv_icm42600: Fix I2C init possible nack 2022-04-16 15:03:58 +01:00
infiniband RDMA/rxe: Change mcg_lock to a _bh lock 2022-05-04 21:29:25 -03:00
input Input updates for v5.18-rc7 2022-05-21 13:58:43 -10:00
interconnect interconnect: Restore sync state by ignoring ipa-virt in provider count 2022-05-03 22:24:21 +03:00
iommu iommu: Make sysfs robust for non-API groups 2022-05-04 15:13:39 +02:00
ipack
irqchip irqchip updates for 5.19: 2022-05-20 18:48:54 +02:00
isdn mISDN: fix typo "frame to short" -> "frame too short" 2022-03-21 13:26:38 +00:00
leds LED updates for 5.18-rc1. Nothing major here, there are two drivers 2022-03-27 14:09:48 -07:00
macintosh
mailbox mailbox: ti-msgmgr: Operate mailbox in polled mode during system suspend 2022-03-12 19:33:30 -06:00
mcb
md for-5.19/drivers-2022-05-22 2022-05-23 14:04:14 -07:00
media media: si2157: unknown chip version Si2147-A30 ROM 0x50 2022-04-09 17:45:49 +02:00
memory memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode 2022-04-21 17:00:24 +02:00
memstick
message scsi: message: fusion: Remove redundant variable dmp 2022-04-06 22:28:07 -04:00
mfd - New Drivers 2022-03-25 13:56:18 -07:00
misc kernel-hardening updates for v5.19-rc1 2022-05-24 12:27:09 -07:00
mmc MMC core: 2022-05-24 14:56:38 -07:00
most
mtd spi: Updates for v5.19 2022-05-24 15:13:30 -07:00
mux
net kernel-hardening updates for v5.19-rc1 2022-05-24 12:27:09 -07:00
nfc nfc: pn533: Fix buggy cleanup order 2022-05-18 13:58:13 +01:00
ntb
nubus
nvdimm libnvdimm for 5.18 2022-03-30 10:04:11 -07:00
nvme for-5.19/drivers-2022-05-22 2022-05-23 14:04:14 -07:00
nvmem nvmem: brcm_nvram: parse NVRAM content into NVMEM cells 2022-03-18 14:08:36 +01:00
of MTD core changes: 2022-05-24 14:31:29 -07:00
opp OPP: Add support of "opp-microwatt" for EM registration 2022-03-03 09:35:04 +05:30
parisc parisc: Fix CPU affinity for Lasi, WAX and Dino chips 2022-03-29 21:37:12 +02:00
parport parport_pc: Also enable driver for PCI systems 2022-03-18 14:01:41 +01:00
pci xen: branch for v5.19-rc1 2022-05-23 20:49:45 -07:00
pcmcia
peci
perf arm64 updates for 5.19: 2022-05-23 21:06:11 -07:00
phy phy: amlogic: fix error path in phy_g12a_usb3_pcie_probe() 2022-04-20 14:42:44 +05:30
pinctrl Updates for interrupt core and drivers: 2022-05-23 16:58:49 -07:00
platform platform/x86/intel/ifs: Add CPU_SUP_INTEL dependency 2022-05-19 19:46:25 +02:00
pnp PNP update for 5.18-rc1 2022-03-21 14:46:01 -07:00
power power: supply: Reset err after not finding static battery 2022-04-13 12:05:22 +02:00
powercap powercap: DTPM: Fix spelling mistake "initialze" -> "initialize" 2022-03-01 18:59:35 +01:00
pps pps: generators: pps_gen_parport: Switch to use module_parport_driver() 2022-03-18 14:01:19 +01:00
ps3
ptp ptp: ocp: change sysfs attr group handling 2022-05-18 21:44:37 -07:00
pwm
rapidio
ras
regulator Merge remote-tracking branch 'regulator/for-5.19' into regulator-next 2022-05-17 16:59:05 +01:00
remoteproc remoteproc updates for v5.18 2022-03-30 10:50:48 -07:00
reset reset: tegra-bpmp: Restore Handle errors in BPMP response 2022-04-04 11:14:13 +02:00
rpmsg rpmsg: ctrl: Introduce new RPMSG_CREATE/RELEASE_DEV_IOCTL controls 2022-03-13 11:49:53 -05:00
rtc m68k updates for v5.19 2022-05-23 20:56:17 -07:00
s390 s390 updates for 5.19 merge window 2022-05-23 21:01:30 -07:00
sbus
scsi xen: branch for v5.19-rc1 2022-05-23 20:49:45 -07:00
sh
siox
slimbus slimbus: qcom: Fix IRQ check in qcom_slim_probe 2022-05-09 16:00:20 +02:00
soc soc: imx: imx8m-blk-ctrl: Fix IMX8MN_DISPBLK_PD_ISI hang 2022-04-10 09:32:08 +08:00
soundwire Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
spi spi: Updates for v5.19 2022-05-24 15:13:30 -07:00
spmi
ssb
staging staging: r8188eu: Fix PPPoE tag insertion on little endian systems 2022-04-04 16:35:20 +02:00
target for-5.19/block-2022-05-22 2022-05-23 13:56:39 -07:00
tc
tee tee: optee: add missing mutext_destroy in optee_ffa_probe 2022-04-05 08:56:26 +02:00
thermal hwmon updates for v5.19-rc1 2022-05-24 14:23:10 -07:00
thunderbolt Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
tty m68k updates for v5.19 2022-05-23 20:56:17 -07:00
uio
usb xen/usbfront: use xenbus_setup_ring() and xenbus_teardown_ring() 2022-05-19 14:22:05 +02:00
vdpa vdpa/mlx5: Use consistent RQT size 2022-05-18 12:31:31 -04:00
vfio vfio/pci: Fix vf_token mechanism when device-specific VF drivers are used 2022-04-13 11:37:44 -06:00
vhost Fix double fget() in vhost_net_set_backend() 2022-05-18 12:33:51 -04:00
video Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes 2022-05-11 20:22:22 +02:00
virt AMD SEV-SNP support 2022-05-23 17:38:01 -07:00
virtio virtio: fixes, cleanups 2022-04-05 10:40:52 -07:00
visorbus
vlynq
vme
w1 w1: w1_therm: Add support for Maxim MAX31850 thermoelement IF. 2022-03-18 14:07:09 +01:00
watchdog linux-watchdog 5.18-rc1 tag 2022-03-31 14:14:03 -07:00
xen xen: add support for initializing xenstore later as HVM domain 2022-05-19 14:44:08 +02:00
zorro
Kconfig
Makefile