linux/drivers/input/tests
Dmitry Torokhov 7e448ca8cd Input: tests - fix input_test_match_device_id test
[ Upstream commit c73b4db076 ]

Properly initialize input_device_id structure in
input_test_match_device_id test to make sure it contains no garbage
causing the test to randomly fail.

Fixes: fdefcbdd6f ("Input: Add KUnit tests for some of the input core helper functions")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/ZFLI7T2qZTGJ1UUK@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-07-19 16:35:41 +02:00
..
.kunitconfig Input: Add KUnit tests for some of the input core helper functions 2023-04-01 22:47:04 -07:00
input_test.c Input: tests - fix input_test_match_device_id test 2023-07-19 16:35:41 +02:00
Makefile Input: Add KUnit tests for some of the input core helper functions 2023-04-01 22:47:04 -07:00