mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] phy: renesas: phy-rcar-gen2: fix typo in function name reference
@ 2025-12-30 14:10 Julia Lawall
  2025-12-30 14:27 ` Geert Uytterhoeven
  2026-01-01 11:08 ` Vinod Koul
  0 siblings, 2 replies; 3+ messages in thread
From: Julia Lawall @ 2025-12-30 14:10 UTC (permalink / raw)
  To: Vinod Koul
  Cc: yunbolyu, kexinsun, ratnadiraw, xutong.ma,
	Kishon Vijay Abraham I, Geert Uytterhoeven, Magnus Damm,
	linux-phy, linux-renesas-soc, linux-kernel

Replace cmpxcgh by cmpxchg.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 drivers/phy/renesas/phy-rcar-gen2.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/renesas/phy-rcar-gen2.c b/drivers/phy/renesas/phy-rcar-gen2.c
index c0221e7258c0..08d36e6eabcd 100644
--- a/drivers/phy/renesas/phy-rcar-gen2.c
+++ b/drivers/phy/renesas/phy-rcar-gen2.c
@@ -85,7 +85,7 @@ static int rcar_gen2_phy_init(struct phy *p)
 	 * Try to acquire exclusive access to PHY.  The first driver calling
 	 * phy_init()  on a given channel wins, and all attempts  to use another
 	 * PHY on this channel will fail until phy_exit() is called by the first
-	 * driver.   Achieving this with cmpxcgh() should be SMP-safe.
+	 * driver.   Achieving this with cmpxchg() should be SMP-safe.
 	 */
 	if (cmpxchg(&channel->selected_phy, -1, phy->number) != -1)
 		return -EBUSY;


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

* Re: [PATCH] phy: renesas: phy-rcar-gen2: fix typo in function name reference
  2025-12-30 14:10 [PATCH] phy: renesas: phy-rcar-gen2: fix typo in function name reference Julia Lawall
@ 2025-12-30 14:27 ` Geert Uytterhoeven
  2026-01-01 11:08 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2025-12-30 14:27 UTC (permalink / raw)
  To: Julia Lawall
  Cc: Vinod Koul, yunbolyu, kexinsun, ratnadiraw, xutong.ma,
	Kishon Vijay Abraham I, Magnus Damm, linux-phy,
	linux-renesas-soc, linux-kernel

On Tue, 30 Dec 2025 at 15:10, Julia Lawall <Julia.Lawall@inria.fr> wrote:
> Replace cmpxcgh by cmpxchg.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

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

* Re: [PATCH] phy: renesas: phy-rcar-gen2: fix typo in function name reference
  2025-12-30 14:10 [PATCH] phy: renesas: phy-rcar-gen2: fix typo in function name reference Julia Lawall
  2025-12-30 14:27 ` Geert Uytterhoeven
@ 2026-01-01 11:08 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2026-01-01 11:08 UTC (permalink / raw)
  To: Julia Lawall
  Cc: yunbolyu, kexinsun, ratnadiraw, xutong.ma,
	Kishon Vijay Abraham I, Geert Uytterhoeven, Magnus Damm,
	linux-phy, linux-renesas-soc, linux-kernel


On Tue, 30 Dec 2025 15:10:50 +0100, Julia Lawall wrote:
> Replace cmpxcgh by cmpxchg.
> 
> 

Applied, thanks!

[1/1] phy: renesas: phy-rcar-gen2: fix typo in function name reference
      commit: 5068c09db5c9ccd47f531bd3ff7f9fe50400fa13

Best regards,
-- 
~Vinod



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

end of thread, other threads:[~2026-01-01 11:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-30 14:10 [PATCH] phy: renesas: phy-rcar-gen2: fix typo in function name reference Julia Lawall
2025-12-30 14:27 ` Geert Uytterhoeven
2026-01-01 11:08 ` Vinod Koul

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®