On Tue, 28 Nov 2023 15:24:07 +0800, David Gow wrote:
In order to pass functions to kunit_add_action(), they need to be of the kunit_action_t type. While casting the function pointer can work, it will break control-flow integrity.
vc4_mock already defines such a wrapper for drm_dev_unregister(), but it
[ ... ]
Reviewed-by: Maxime Ripard mripard@kernel.org
Thanks! Maxime