Re: [PATCH 1/3] ACPI: fan: Use correct function parameter name in kernel-doc

"Rafael J. Wysocki (Intel)" <[email protected]>
Newsgroups gmane.linux.acpi.devel,gmane.linux.kernel
Message-ID <CAJZ5v0hsYiZU3X+6f-dygjO8tsqEMfkmWZRU6Er3NP0wjj5Twg@mail.gmail.com>
On Mon, Jul 20, 2026 at 5:23 AM Randy Dunlap <[email protected]> wrote:
>
> Fix kernel-doc warnings by using the correct function parameter name:
>
> Warning: ./drivers/acpi/fan.h:83 function parameter 'speed' not described in 'acpi_fan_speed_valid'
> Warning: ./drivers/acpi/fan.h:83 Excess function parameter 'speeed' description in 'acpi_fan_speed_valid'
>
> Signed-off-by: Randy Dunlap <[email protected]>
> ---
> Cc: "Rafael J. Wysocki" <[email protected]>
> Cc: Len Brown <[email protected]>
> Cc: [email protected]
>
>  drivers/acpi/fan.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-next-20260717.orig/drivers/acpi/fan.h
> +++ linux-next-20260717/drivers/acpi/fan.h
> @@ -69,7 +69,7 @@ struct acpi_fan {
>
>  /**
>   * acpi_fan_speed_valid - Check if fan speed value is valid
> - * @speeed: Speed value returned by the ACPI firmware
> + * @speed: Speed value returned by the ACPI firmware
>   *
>   * Check if the fan speed value returned by the ACPI firmware is valid. This function is
>   * necessary as ACPI firmware implementations can return 0xFFFFFFFF to signal that the

Applied as 7.3 material along with the other 2 patches in the series, thanks!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.