2021-12-12 03:31:48

by Jason Wang

[permalink] [raw]
Subject: [PATCH] cpuidle: tegra: fix typo in a comment

The double `that' in the comment in line 275 is repeated. Remove one
of them from the comment.

Signed-off-by: Jason Wang <[email protected]>
---
drivers/cpuidle/cpuidle-tegra.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpuidle/cpuidle-tegra.c b/drivers/cpuidle/cpuidle-tegra.c
index 9845629aeb6d..93ed4b8e164a 100644
--- a/drivers/cpuidle/cpuidle-tegra.c
+++ b/drivers/cpuidle/cpuidle-tegra.c
@@ -272,7 +272,7 @@ static int tegra114_enter_s2idle(struct cpuidle_device *dev,
* LP2 | C7 (CPU core power gating)
* LP2 | CC6 (CPU cluster power gating)
*
- * Note that that the older CPUIDLE driver versions didn't explicitly
+ * Note that the older CPUIDLE driver versions didn't explicitly
* differentiate the LP2 states because these states either used the same
* code path or because CC6 wasn't supported.
*/
--
2.34.1



2021-12-14 06:02:27

by Dmitry Osipenko

[permalink] [raw]
Subject: Re: [PATCH] cpuidle: tegra: fix typo in a comment

12.12.2021 06:31, Jason Wang пишет:
> The double `that' in the comment in line 275 is repeated. Remove one
> of them from the comment.
>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> drivers/cpuidle/cpuidle-tegra.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/cpuidle/cpuidle-tegra.c b/drivers/cpuidle/cpuidle-tegra.c
> index 9845629aeb6d..93ed4b8e164a 100644
> --- a/drivers/cpuidle/cpuidle-tegra.c
> +++ b/drivers/cpuidle/cpuidle-tegra.c
> @@ -272,7 +272,7 @@ static int tegra114_enter_s2idle(struct cpuidle_device *dev,
> * LP2 | C7 (CPU core power gating)
> * LP2 | CC6 (CPU cluster power gating)
> *
> - * Note that that the older CPUIDLE driver versions didn't explicitly
> + * Note that the older CPUIDLE driver versions didn't explicitly
> * differentiate the LP2 states because these states either used the same
> * code path or because CC6 wasn't supported.
> */
>

This might be a candidate for <[email protected]>.

https://www.kernel.org/doc/html/latest/process/submitting-patches.html#select-the-recipients-for-your-patch

2021-12-14 06:28:32

by Dmitry Osipenko

[permalink] [raw]
Subject: Re: [PATCH] cpuidle: tegra: fix typo in a comment

14.12.2021 09:02, Dmitry Osipenko пишет:
> 12.12.2021 06:31, Jason Wang пишет:
>> The double `that' in the comment in line 275 is repeated. Remove one
>> of them from the comment.
>>
>> Signed-off-by: Jason Wang <[email protected]>
>> ---
>> drivers/cpuidle/cpuidle-tegra.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/cpuidle/cpuidle-tegra.c b/drivers/cpuidle/cpuidle-tegra.c
>> index 9845629aeb6d..93ed4b8e164a 100644
>> --- a/drivers/cpuidle/cpuidle-tegra.c
>> +++ b/drivers/cpuidle/cpuidle-tegra.c
>> @@ -272,7 +272,7 @@ static int tegra114_enter_s2idle(struct cpuidle_device *dev,
>> * LP2 | C7 (CPU core power gating)
>> * LP2 | CC6 (CPU cluster power gating)
>> *
>> - * Note that that the older CPUIDLE driver versions didn't explicitly
>> + * Note that the older CPUIDLE driver versions didn't explicitly
>> * differentiate the LP2 states because these states either used the same
>> * code path or because CC6 wasn't supported.
>> */
>>
>
> This might be a candidate for <[email protected]>.
>
> https://www.kernel.org/doc/html/latest/process/submitting-patches.html#select-the-recipients-for-your-patch
>

Although, probably not, because documentation should mean only
Documentation/.