[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ef6d1656-9e5c-d201-705e-66741f3485cd@linux.intel.com>
Date: Wed, 16 Oct 2024 16:58:10 +0300 (EEST)
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: "Luke D. Jones" <luke@...nes.dev>
cc: LKML <linux-kernel@...r.kernel.org>, linux-input@...r.kernel.org,
jikos@...nel.org, platform-driver-x86@...r.kernel.org,
Hans de Goede <hdegoede@...hat.com>, corentin.chary@...il.com,
superm1@...nel.org, Jiri Kosina <jkosina@...e.com>
Subject: Re: [PATCH v6 2/9] hid-asus: Add MODULE_IMPORT_NS(ASUS_WMI)
On Mon, 30 Sep 2024, Luke D. Jones wrote:
> A small change to asus_wmi_evaluate_method() was introduced during
> asus-armoury driver development to put the exports behind a namespace.
>
> Import that namespace here.
>
> Signed-off-by: Luke D. Jones <luke@...nes.dev>
> Acked-by: Jiri Kosina <jkosina@...e.com>
> ---
> drivers/hid/hid-asus.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hid/hid-asus.c b/drivers/hid/hid-asus.c
> index a4b47319ad8e..9540e3e19cce 100644
> --- a/drivers/hid/hid-asus.c
> +++ b/drivers/hid/hid-asus.c
> @@ -1301,4 +1301,5 @@ static struct hid_driver asus_driver = {
> };
> module_hid_driver(asus_driver);
>
> +MODULE_IMPORT_NS(ASUS_WMI);
> MODULE_LICENSE("GPL");
This order of patches will break the build since 1/9 put
asus_wmi_evaluate_method() into that namespace so this module will fail
build until this patch 2/9.
IMO, this change should just be part of 1/9 or perhaps better approach
would be to make a new first patch into the series that does this and
moves the export of asus_wmi_evaluate_method() into the namespace. The
rest of the patch 1/9 would then become 2/9.
--
i.
Powered by blists - more mailing lists