mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] thermal: intel: fix typo nagative in comment for cpu argument
@ 2026-01-11 16:07 Sumeet Pawnikar
  2026-01-15 20:19 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Sumeet Pawnikar @ 2026-01-11 16:07 UTC (permalink / raw)
  To: rafael, rui.zhang, linux-pm; +Cc: linux-kernel, sumeet4linux

Fix typo "nagative" -> "negative" for cpu argument value in
comment section.

Signed-off-by: Sumeet Pawnikar <sumeet4linux@gmail.com>
---
 drivers/thermal/intel/intel_tcc.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/thermal/intel/intel_tcc.c b/drivers/thermal/intel/intel_tcc.c
index b2a615aea7c1..ab61fb122937 100644
--- a/drivers/thermal/intel/intel_tcc.c
+++ b/drivers/thermal/intel/intel_tcc.c
@@ -172,7 +172,7 @@ static u32 get_temp_mask(bool pkg)
 
 /**
  * intel_tcc_get_tjmax() - returns the default TCC activation Temperature
- * @cpu: cpu that the MSR should be run on, nagative value means any cpu.
+ * @cpu: cpu that the MSR should be run on, negative value means any cpu.
  *
  * Get the TjMax value, which is the default thermal throttling or TCC
  * activation temperature in degrees C.
@@ -199,7 +199,7 @@ EXPORT_SYMBOL_NS_GPL(intel_tcc_get_tjmax, "INTEL_TCC");
 
 /**
  * intel_tcc_get_offset() - returns the TCC Offset value to Tjmax
- * @cpu: cpu that the MSR should be run on, nagative value means any cpu.
+ * @cpu: cpu that the MSR should be run on, negative value means any cpu.
  *
  * Get the TCC offset value to Tjmax. The effective thermal throttling or TCC
  * activation temperature equals "Tjmax" - "TCC Offset", in degrees C.
@@ -224,7 +224,7 @@ EXPORT_SYMBOL_NS_GPL(intel_tcc_get_offset, "INTEL_TCC");
 
 /**
  * intel_tcc_set_offset() - set the TCC offset value to Tjmax
- * @cpu: cpu that the MSR should be run on, nagative value means any cpu.
+ * @cpu: cpu that the MSR should be run on, negative value means any cpu.
  * @offset: TCC offset value in degree C
  *
  * Set the TCC Offset value to Tjmax. The effective thermal throttling or TCC
@@ -267,7 +267,7 @@ EXPORT_SYMBOL_NS_GPL(intel_tcc_set_offset, "INTEL_TCC");
 
 /**
  * intel_tcc_get_temp() - returns the current temperature
- * @cpu: cpu that the MSR should be run on, nagative value means any cpu.
+ * @cpu: cpu that the MSR should be run on, negative value means any cpu.
  * @temp: pointer to the memory for saving cpu temperature.
  * @pkg: true: Package Thermal Sensor. false: Core Thermal Sensor.
  *
-- 
2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] thermal: intel: fix typo nagative in comment for cpu argument
  2026-01-11 16:07 [PATCH] thermal: intel: fix typo nagative in comment for cpu argument Sumeet Pawnikar
@ 2026-01-15 20:19 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2026-01-15 20:19 UTC (permalink / raw)
  To: Sumeet Pawnikar; +Cc: rafael, rui.zhang, linux-pm, linux-kernel

On Sun, Jan 11, 2026 at 5:07 PM Sumeet Pawnikar <sumeet4linux@gmail.com> wrote:
>
> Fix typo "nagative" -> "negative" for cpu argument value in
> comment section.
>
> Signed-off-by: Sumeet Pawnikar <sumeet4linux@gmail.com>
> ---
>  drivers/thermal/intel/intel_tcc.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/thermal/intel/intel_tcc.c b/drivers/thermal/intel/intel_tcc.c
> index b2a615aea7c1..ab61fb122937 100644
> --- a/drivers/thermal/intel/intel_tcc.c
> +++ b/drivers/thermal/intel/intel_tcc.c
> @@ -172,7 +172,7 @@ static u32 get_temp_mask(bool pkg)
>
>  /**
>   * intel_tcc_get_tjmax() - returns the default TCC activation Temperature
> - * @cpu: cpu that the MSR should be run on, nagative value means any cpu.
> + * @cpu: cpu that the MSR should be run on, negative value means any cpu.
>   *
>   * Get the TjMax value, which is the default thermal throttling or TCC
>   * activation temperature in degrees C.
> @@ -199,7 +199,7 @@ EXPORT_SYMBOL_NS_GPL(intel_tcc_get_tjmax, "INTEL_TCC");
>
>  /**
>   * intel_tcc_get_offset() - returns the TCC Offset value to Tjmax
> - * @cpu: cpu that the MSR should be run on, nagative value means any cpu.
> + * @cpu: cpu that the MSR should be run on, negative value means any cpu.
>   *
>   * Get the TCC offset value to Tjmax. The effective thermal throttling or TCC
>   * activation temperature equals "Tjmax" - "TCC Offset", in degrees C.
> @@ -224,7 +224,7 @@ EXPORT_SYMBOL_NS_GPL(intel_tcc_get_offset, "INTEL_TCC");
>
>  /**
>   * intel_tcc_set_offset() - set the TCC offset value to Tjmax
> - * @cpu: cpu that the MSR should be run on, nagative value means any cpu.
> + * @cpu: cpu that the MSR should be run on, negative value means any cpu.
>   * @offset: TCC offset value in degree C
>   *
>   * Set the TCC Offset value to Tjmax. The effective thermal throttling or TCC
> @@ -267,7 +267,7 @@ EXPORT_SYMBOL_NS_GPL(intel_tcc_set_offset, "INTEL_TCC");
>
>  /**
>   * intel_tcc_get_temp() - returns the current temperature
> - * @cpu: cpu that the MSR should be run on, nagative value means any cpu.
> + * @cpu: cpu that the MSR should be run on, negative value means any cpu.
>   * @temp: pointer to the memory for saving cpu temperature.
>   * @pkg: true: Package Thermal Sensor. false: Core Thermal Sensor.
>   *
> --

Applied as 6.20 material, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-15 20:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-11 16:07 [PATCH] thermal: intel: fix typo nagative in comment for cpu argument Sumeet Pawnikar
2026-01-15 20:19 ` Rafael J. Wysocki

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®