test-drm-helper.ko can't be rmmod-ed because it doesn't have a module_exit, that could be very inconvenient especially in the development stage where we usually want to re-run the tests without any rebooting. Signed-off-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@xxxxxxx> --- drivers/gpu/drm/selftests/test-drm-helper.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/selftests/test-drm-helper.c b/drivers/gpu/drm/selftests/test-drm-helper.c index a015712b43e8..a6a1818fdafd 100644 --- a/drivers/gpu/drm/selftests/test-drm-helper.c +++ b/drivers/gpu/drm/selftests/test-drm-helper.c @@ -241,7 +241,12 @@ static int __init test_drm_helper_init(void) return err > 0 ? 0 : err; } +static void __exit test_drm_helper_exit(void) +{ +} + module_init(test_drm_helper_init); +module_exit(test_drm_helper_exit); MODULE_AUTHOR("Intel Corporation"); MODULE_LICENSE("GPL"); -- 2.18.0 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel