From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757081AbdLWTLY (ORCPT ); Sat, 23 Dec 2017 14:11:24 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35874 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754730AbdLWTLW (ORCPT ); Sat, 23 Dec 2017 14:11:22 -0500 X-Google-Smtp-Source: ACJfBosYitd5plLuJLneBpT4/wT6e93TcTKcievRGBuX+17xOgieiKZJZxyKz1urR53J5uJia16WAg== Subject: Re: [PATCH] drm: fix tainted kernel caused by drm_panel_orientation_quirks.c To: David Lechner , dri-devel@lists.freedesktop.org Cc: Hans de Goede , Daniel Vetter , Gustavo Padovan , Sean Paul , David Airlie , linux-kernel@vger.kernel.org References: <1513881979-13801-1-git-send-email-david@lechnology.com> From: Hans de Goede Message-ID: <96558d92-84da-506a-c249-dd6c932ff07a@redhat.com> Date: Sat, 23 Dec 2017 20:11:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1513881979-13801-1-git-send-email-david@lechnology.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 21-12-17 19:46, David Lechner wrote: > 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(). > > Signed-off-by: David Lechner Thank you, I've pushed this patch to drm-misc-next. Regards, Hans > --- > drivers/gpu/drm/drm_panel_orientation_quirks.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c > index 901a4e9..1f2af70 100644 > --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c > +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c > @@ -9,6 +9,7 @@ > */ > > #include > +#include > #include > > #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"); >