From: Giovanni Mascellani <gio@debian.org>
To: "Guenter Roeck" <linux@roeck-us.net>,
"Pali Rohár" <pali.rohar@gmail.com>
Cc: Jean Delvare <jdelvare@suse.com>,
linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] dell-smm-hwmon: Add support for disabling automatic BIOS fan control
Date: Sat, 16 Nov 2019 18:12:23 +0100 [thread overview]
Message-ID: <e938f226-f9f1-0c17-865c-45942e9287e8@debian.org> (raw)
In-Reply-To: <7bc8ec9a-f559-96c8-36fd-6e11a1420626@roeck-us.net>
[-- Attachment #1.1: Type: text/plain, Size: 932 bytes --]
Hi,
Il 16/11/19 16:53, Guenter Roeck ha scritto:
>>> @@ -1135,12 +1183,48 @@ static struct dmi_system_id
>>> i8k_blacklist_fan_support_dmi_table[] __initdata = {
>>> { }
>>> };
>>> +struct i8k_manual_fan_data {
>>> + unsigned int smm_manual_fan;
>>> + unsigned int smm_auto_fan;
>>> +};
>>
>> Just cosmetic suggestion: As this structure contains data for both
>> manual and automatic mode I would not use "manual" in name. But e.g.
>> something like "i8k_bios_fan_control_data"...
>>
> Or i8k_fan_control_data. Also, "manual" and "auto" for the variable
> names would be sufficient.
"auto" is a keyword, so I cannot use it. I've left "manual_fan" and
"auto_fan" therefore.
Thanks and ack for all the other changes. I'll submit the updated patch
shortly.
Giovanni.
--
Giovanni Mascellani <g.mascellani@gmail.com>
Postdoc researcher - Université Libre de Bruxelles
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2019-11-16 17:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-16 14:06 Giovanni Mascellani
2019-11-16 14:58 ` Pali Rohár
2019-11-16 15:53 ` Guenter Roeck
2019-11-16 15:59 ` Pali Rohár
2019-11-16 17:12 ` Giovanni Mascellani [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=e938f226-f9f1-0c17-865c-45942e9287e8@debian.org \
--to=gio@debian.org \
--cc=jdelvare@suse.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=pali.rohar@gmail.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
all inboxes | Powered by JetHome®