2022-06-22 16:07:36

by Jiang Jian

[permalink] [raw]
Subject: [PATCH] thermal: intel: drop unexpected word 'is' in the comments

there is an unexpected word 'is' in the comments that need to be dropped

file: ./drivers/thermal/intel/x86_pkg_temp_thermal.c
line: 108

* tj-max is is interesting because threshold is set relative to this

changed to:

* tj-max is interesting because threshold is set relative to this

Signed-off-by: Jiang Jian <[email protected]>
---
drivers/thermal/intel/x86_pkg_temp_thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/intel/x86_pkg_temp_thermal.c b/drivers/thermal/intel/x86_pkg_temp_thermal.c
index 4d8edc61a78b..a0e234fce71a 100644
--- a/drivers/thermal/intel/x86_pkg_temp_thermal.c
+++ b/drivers/thermal/intel/x86_pkg_temp_thermal.c
@@ -105,7 +105,7 @@ static struct zone_device *pkg_temp_thermal_get_dev(unsigned int cpu)
}

/*
-* tj-max is is interesting because threshold is set relative to this
+* tj-max is interesting because threshold is set relative to this
* temperature.
*/
static int get_tj_max(int cpu, u32 *tj_max)
--
2.17.1


2022-07-12 18:39:42

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] thermal: intel: drop unexpected word 'is' in the comments

On Wed, Jun 22, 2022 at 5:56 PM Jiang Jian <[email protected]> wrote:
>
> there is an unexpected word 'is' in the comments that need to be dropped
>
> file: ./drivers/thermal/intel/x86_pkg_temp_thermal.c
> line: 108
>
> * tj-max is is interesting because threshold is set relative to this
>
> changed to:
>
> * tj-max is interesting because threshold is set relative to this
>
> Signed-off-by: Jiang Jian <[email protected]>
> ---
> drivers/thermal/intel/x86_pkg_temp_thermal.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/thermal/intel/x86_pkg_temp_thermal.c b/drivers/thermal/intel/x86_pkg_temp_thermal.c
> index 4d8edc61a78b..a0e234fce71a 100644
> --- a/drivers/thermal/intel/x86_pkg_temp_thermal.c
> +++ b/drivers/thermal/intel/x86_pkg_temp_thermal.c
> @@ -105,7 +105,7 @@ static struct zone_device *pkg_temp_thermal_get_dev(unsigned int cpu)
> }
>
> /*
> -* tj-max is is interesting because threshold is set relative to this
> +* tj-max is interesting because threshold is set relative to this
> * temperature.
> */
> static int get_tj_max(int cpu, u32 *tj_max)
> --

Applied as 5.20 material with some edits in the changelog and subject.

Thanks!