drm: fix tainted kernel caused by drm_panel_orientation_quirks.c
Subsystems (2)
PATCH 1/1 drm: fix tainted kernel caused by drm_panel_orientation_quirks.c
drm_panel_orientation_quirks.c introduced in commit 404d1a3edc38 ("drm:
Add panel orientation quirks, v6.") taints the kernel when compiled as a module. Fix this by adding MODULE_LICENSE().
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +3 -0
@@ -9,6 +9,7 @@*/ #include <linux/dmi.h> +#include <linux/module.h> #include <drm/drm_connector.h> #ifdef CONFIG_DMI
@@ -172,3 +173,5 @@ int drm_get_panel_orientation_quirk(int width, int height)EXPORT_SYMBOL (drm_get_panel_orientation_quirk);#endif + +MODULE_LICENSE ("Dual MIT/GPL" );
Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi,
Quoted 5 lines · David Lechner
drm_panel_orientation_quirks.cintroduced in commit404d1a3edc38("drm:
Add panel orientation quirks, v6.") taints the kernel when compiled as a module. Fix this by addingMODULE_LICENSE().Signed-off-by David Lechner <[email protected]>
Thank you for taking care of this, looks good to me:
Regards,
Hans
Quoted 23 lines
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/drm_panel_orientation_quirks.c +3
-0@@ -9,6 +9,7 @@*/ #include <linux/dmi.h> +#include <linux/module.h> #include <drm/drm_connector.h> #ifdef CONFIG_DMI @@ -172,3 +173,5 @@ int drm_get_panel_orientation_quirk(int width, int height)EXPORT_SYMBOL (drm_get_panel_orientation_quirk);#endif + +MODULE_LICENSE ("Dual MIT/GPL" );
Hi,
Quoted 5 lines · David Lechner
drm_panel_orientation_quirks.cintroduced in commit404d1a3edc38("drm:
Add panel orientation quirks, v6.") taints the kernel when compiled as a module. Fix this by addingMODULE_LICENSE().Signed-off-by David Lechner <[email protected]>
Thank you, I've pushed this patch to drm-misc-next.
Regards,
Hans
Quoted 18 lines
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/drm_panel_orientation_quirks.c +1
-0@@ -9,6 +9,7 @@*/ #include <linux/dmi.h> +#include <linux/module.h> #include <drm/drm_connector.h> #ifdef CONFIG_DMI
drivers/gpu/drm/drm_panel_orientation_quirks.c int drm_get_panel_orientation_quirk(int width, int height) · line 177
Quoted 5 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +2
-0@@ -172,3 +173,5 @@ int drm_get_panel_orientation_quirk(int width, int height)EXPORT_SYMBOL (drm_get_panel_orientation_quirk);#endif + +MODULE_LICENSE ("Dual MIT/GPL" );
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel