2022-07-18 14:17:02

by Jason Wang

[permalink] [raw]
Subject: [PATCH] powerpc/ps3: Fix comment typo

The double `when' is duplicated in line 1069, remove one.

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

diff --git a/drivers/ps3/ps3-lpm.c b/drivers/ps3/ps3-lpm.c
index 65512b6cc6fd..200ad8751860 100644
--- a/drivers/ps3/ps3-lpm.c
+++ b/drivers/ps3/ps3-lpm.c
@@ -1066,7 +1066,7 @@ EXPORT_SYMBOL_GPL(ps3_disable_pm_interrupts);
* instance, specified by one of enum ps3_lpm_tb_type.
* @tb_cache: Optional user supplied buffer to use as the trace buffer cache.
* If NULL, the driver will allocate and manage an internal buffer.
- * Unused when when @tb_type is PS3_LPM_TB_TYPE_NONE.
+ * Unused when @tb_type is PS3_LPM_TB_TYPE_NONE.
* @tb_cache_size: The size in bytes of the user supplied @tb_cache buffer.
* Unused when @tb_cache is NULL or @tb_type is PS3_LPM_TB_TYPE_NONE.
*/
--
2.35.1


2022-07-19 09:12:23

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH] powerpc/ps3: Fix comment typo

On Mon, Jul 18, 2022 at 3:48 PM Jason Wang <[email protected]> wrote:
> The double `when' is duplicated in line 1069, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>

Reviewed-by: Geert Uytterhoeven <[email protected]>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds