From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Cc: mario.limonciello@amd.com, perry.yuan@amd.com, hansg@kernel.org,
platform-driver-x86@vger.kernel.org,
LKML <linux-kernel@vger.kernel.org>,
Abaci Robot <abaci@linux.alibaba.com>
Subject: Re: [PATCH -next] platform/x86: hfi: Remove unnecessary .owner for amd_hfi_driver
Date: Tue, 19 Aug 2025 11:31:48 +0300 (EEST) [thread overview]
Message-ID: <8a52ee4f-ab2a-f9c3-9f35-d878ac3c4b70@linux.intel.com> (raw)
In-Reply-To: <20250725082735.2005040-1-jiapeng.chong@linux.alibaba.com>
On Fri, 25 Jul 2025, Jiapeng Chong wrote:
> Remove .owner field if calls are used which set it automatically.
This changelog is too confusing, please improve. You state "if calls are
used which set it automatically", are they used or not? Preferrably name
the call. Please don't leave things like that hanging into air.
> ./drivers/platform/x86/amd/hfi/hfi.c:512:3-8: No need to set .owner here. The core will do it.
This looks like an error/warning message from something? Please explain
before the quote what outputted it.
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=22940
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> ---
> drivers/platform/x86/amd/hfi/hfi.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/platform/x86/amd/hfi/hfi.c b/drivers/platform/x86/amd/hfi/hfi.c
> index 4f56149b3774..b633363ebf70 100644
> --- a/drivers/platform/x86/amd/hfi/hfi.c
> +++ b/drivers/platform/x86/amd/hfi/hfi.c
> @@ -509,7 +509,6 @@ static int amd_hfi_probe(struct platform_device *pdev)
> static struct platform_driver amd_hfi_driver = {
> .driver = {
> .name = AMD_HFI_DRIVER,
> - .owner = THIS_MODULE,
> .pm = &amd_hfi_pm_ops,
> .acpi_match_table = ACPI_PTR(amd_hfi_platform_match),
> },
>
--
i.
prev parent reply other threads:[~2025-08-19 8:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-25 8:27 Jiapeng Chong
2025-07-25 15:30 ` Mario Limonciello
2025-08-19 8:31 ` Ilpo Järvinen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8a52ee4f-ab2a-f9c3-9f35-d878ac3c4b70@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=abaci@linux.alibaba.com \
--cc=hansg@kernel.org \
--cc=jiapeng.chong@linux.alibaba.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=perry.yuan@amd.com \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®