We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91cfe0b commit d45f72bCopy full SHA for d45f72b
drivers/hid/hid-uclogic-core-test.c
@@ -56,6 +56,11 @@ static struct uclogic_raw_event_hook_test test_events[] = {
56
},
57
};
58
59
+static void fake_work(struct work_struct *work)
60
+{
61
+
62
+}
63
64
static void hid_test_uclogic_exec_event_hook_test(struct kunit *test)
65
{
66
struct uclogic_params p = {0, };
@@ -77,6 +82,8 @@ static void hid_test_uclogic_exec_event_hook_test(struct kunit *test)
77
82
KUNIT_ASSERT_NOT_ERR_OR_NULL(test, filter->event);
78
83
memcpy(filter->event, &hook_events[n].event[0], filter->size);
79
84
85
+ INIT_WORK(&filter->work, fake_work);
86
80
87
list_add_tail(&filter->list, &p.event_hooks->list);
81
88
}
89
0 commit comments