From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Crag Wang <crag0715@gmail.com>
Cc: mario.limonciello@amd.com, Prasanth Ksr <prasanth.ksr@dell.com>,
Hans de Goede <hdegoede@redhat.com>,
crag.wang@dell.com, Crag Wang <crag_wang@dell.com>,
Dell.Client.Kernel@dell.com,
platform-driver-x86@vger.kernel.org,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCHv3 1/2] platform/x86: dell-sysman: remove match on www.dell.com
Date: Fri, 4 Oct 2024 16:45:01 +0300 (EEST) [thread overview]
Message-ID: <eb6c6347-e665-8057-f825-1acfec682ea3@linux.intel.com> (raw)
In-Reply-To: <20241004024209.201244-1-crag_wang@dell.com>
On Fri, 4 Oct 2024, Crag Wang wrote:
> The URL is dynamic and may change according to the OEM. It was mainly used
> for old systems that do not have "Dell System" in the OEM String.
>
> Signed-off-by: Crag Wang <crag_wang@dell.com>
> ---
> drivers/platform/x86/dell/dell-wmi-sysman/sysman.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c b/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
> index 9def7983d7d6..c05474f1ed70 100644
> --- a/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
> +++ b/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
> @@ -520,8 +520,7 @@ static int __init sysman_init(void)
> {
> int ret = 0;
>
> - if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL) &&
> - !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "www.dell.com", NULL)) {
> + if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL)) {
I suggested making the changes in the opposite order, that was to
faciliate easy revert of the URL patch if needed which is not the case if
things are changed in this order.
--
i.
next prev parent reply other threads:[~2024-10-04 13:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-04 2:41 [PATCHv3 1/2] platform/x86: dell-sysman: remove match on www.dell.com Crag Wang
2024-10-04 2:41 ` [PATCHv3 2/2] platform/x86: dell-sysman: add support for alienware products Crag Wang
2024-10-04 13:45 ` Ilpo Järvinen [this message]
2024-10-04 13:50 ` [PATCHv3 1/2] platform/x86: dell-sysman: remove match on www.dell.com Hans de Goede
2024-10-04 14:30 ` Wang, Crag
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=eb6c6347-e665-8057-f825-1acfec682ea3@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=Dell.Client.Kernel@dell.com \
--cc=crag.wang@dell.com \
--cc=crag0715@gmail.com \
--cc=crag_wang@dell.com \
--cc=hdegoede@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=platform-driver-x86@vger.kernel.org \
--cc=prasanth.ksr@dell.com \
/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