public inbox for linux-kernel-mentees@lists.linux-foundation.org
 help / color / mirror / Atom feed
From: Armin Wolf <W_Armin@gmx.de>
To: "Mark Pearson" <mpearson-lenovo@squebb.ca>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: rakuram <rakuram.e96@gmail.com>,
	linux-doc@vger.kernel.org,
	"Derek J . Clark" <derekjohn.clark@gmail.com>,
	Jonathan Corbet <corbet@lwn.net>,
	"platform-driver-x86@vger.kernel.org"
	<platform-driver-x86@vger.kernel.org>,
	linux-kernel-mentees@lists.linuxfoundation.org,
	skhan@linuxfoundation.org
Subject: Re: [PATCH] Documentation/wmi: Fix Typo in lenovo-wmi-gamezone
Date: Mon, 15 Sep 2025 23:54:22 +0200	[thread overview]
Message-ID: <cfd7977e-d612-4e08-a68a-65fed8e164b6@gmx.de> (raw)
In-Reply-To: <4d218ba7-71ba-4dfe-9a6f-a1997345c35a@app.fastmail.com>

Am 15.09.25 um 20:23 schrieb Mark Pearson:

> Hi Ilpo,
>
> On Mon, Sep 15, 2025, at 6:32 AM, Ilpo Järvinen wrote:
>> On Wed, 20 Aug 2025, Mark Pearson wrote:
>>> On Sun, Aug 17, 2025, at 1:06 PM, rakuram wrote:
>>>> Fixed the below typo error
>>>>
>>>> freqency ==> frequency
>>>> in Documentation/wmi/devices/lenovo-wmi-gamezone.rst
>>>>
>>>> Signed-off-by: rakuram <rakuram.e96@gmail.com>
>>>> ---
>>>>   Documentation/wmi/devices/lenovo-wmi-gamezone.rst | 2 +-
>>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/Documentation/wmi/devices/lenovo-wmi-gamezone.rst
>>>> b/Documentation/wmi/devices/lenovo-wmi-gamezone.rst
>>>> index 997263e51a7d..22040250a97d 100644
>>>> --- a/Documentation/wmi/devices/lenovo-wmi-gamezone.rst
>>>> +++ b/Documentation/wmi/devices/lenovo-wmi-gamezone.rst
>>>> @@ -153,7 +153,7 @@ data using the `bmfdec
>>>> <https://github.com/pali/bmfdec>`_ utility:
>>>>       [WmiDataId(1), read, Description("P-State ID.")] uint32 PStateID;
>>>>       [WmiDataId(2), read, Description("CLOCK ID.")] uint32 ClockID;
>>>>       [WmiDataId(3), read, Description("Default value.")] uint32
>>>> defaultvalue;
>>>> -    [WmiDataId(4), read, Description("OC Offset freqency.")] uint32
>>>> OCOffsetFreq;
>>>> +    [WmiDataId(4), read, Description("OC Offset frequency.")] uint32
>>>> OCOffsetFreq;
>>>>       [WmiDataId(5), read, Description("OC Min offset value.")] uint32
>>>> OCMinOffset;
>>>>       [WmiDataId(6), read, Description("OC Max offset value.")] uint32
>>>> OCMaxOffset;
>>>>       [WmiDataId(7), read, Description("OC Offset Scale.")] uint32
>>>> OCOffsetScale;
>>>> -- 
>>>> 2.43.0
>>> Looks good to me.
>>> Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
>> Hi,
>>
>> Isn't the typo in the original interface as well? I'm not very keen in
>> accepting this kind of patches as this part is not really user
>> documentation to begin with.
>>
> I haven't had a chance to double check - but it's kinda bad that we had that typo in the original implementation to be honest. I can ask to get that fixed, but it will likely take a long time for something minor.
> I defer to you on the preference for kernel documentation - I suspect we'll get a bunch of these though (part of the 'getting started to contributing to the kernel' is always typos and documentation right?).
>
> Mark

I agree, the typo is inside the WMI MOF definition which is included inside the documentation for future developers. Since this MOF definition should
match the actual MOF definition reported by the ACPI firmware, i suggest that we ignore any spelling mistakes inside those.

Thanks,
Armin Wolf


      reply	other threads:[~2025-09-15 21:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-17 17:06 [PATCH] Documentation/wmi: Fix Typo in lenovo-wmi-gamezone rakuram
2025-08-20 14:37 ` Mark Pearson
2025-09-15 10:32   ` Ilpo Järvinen
2025-09-15 18:23     ` Mark Pearson
2025-09-15 21:54       ` Armin Wolf [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=cfd7977e-d612-4e08-a68a-65fed8e164b6@gmx.de \
    --to=w_armin@gmx.de \
    --cc=corbet@lwn.net \
    --cc=derekjohn.clark@gmail.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel-mentees@lists.linuxfoundation.org \
    --cc=mpearson-lenovo@squebb.ca \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=rakuram.e96@gmail.com \
    --cc=skhan@linuxfoundation.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