Skip to contentSkip to conversation

cpuidle: tegra: fix typo in a comment

PATCH In review Jason Wang 2 participants 3 messages Dec 12, 2021 – Dec 14, 2021

Subsystems (2)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/cpuidle/cpuidle-tegra.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpuidle/cpuidle-tegra.c +1 -1
index 9845629aeb6d..93ed4b8e164a 100644
@@ -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.
  */
Signature · 1 line
2.34.1
#1 lore raw

12.12.2021 06:31, Jason Wang пишет:

Quoted 14 lines

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

---
 drivers/cpuidle/cpuidle-tegra.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpuidle/cpuidle-tegra.c +0 -0
index 9845629aeb6d..93ed4b8e164a 100644

drivers/cpuidle/cpuidle-tegra.c static int tegra114_enter_s2idle(struct cpuidle_device *dev, · line 278

Quoted 8 lines
drivers/cpuidle/cpuidle-tegra.c +1 -1
@@ -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

#2 lore raw

14.12.2021 09:02, Dmitry Osipenko пишет:

Quoted 26 lines

12.12.2021 06:31, Jason Wang пишет:

Quoted 14 lines

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

---
 drivers/cpuidle/cpuidle-tegra.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpuidle/cpuidle-tegra.c +0 -0
index 9845629aeb6d..93ed4b8e164a 100644

drivers/cpuidle/cpuidle-tegra.c static int tegra114_enter_s2idle(struct cpuidle_device *dev, · line 278

Quoted 8 lines
drivers/cpuidle/cpuidle-tegra.c +1 -1
@@ -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]>.

Quoted 2 lines

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/.