All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bitops: use safer link explaining the algorithm
@ 2025-01-25 13:01 ` Wolfram Sang
  0 siblings, 0 replies; 18+ messages in thread
From: Wolfram Sang @ 2025-01-25 13:01 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: linux-i3c, Alexandre Belloni, Wolfram Sang, Yury Norov,
	Rasmus Villemoes, Geert Uytterhoeven, Kuan-Wei Chiu

During review, a concern was raised that the link explaining the
algorithm might get stale. Meanwhile, the site has been archived in the
WayBack machine. So, use their link which is hopefully more stable.

Fixes: c320592f3f2a ("bitops: add generic parity calculation for u8")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---

The original patch went upstream via I3C. Yury, do you want to take this
fixup or shall it also go via I3C?

 include/linux/bitops.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/bitops.h b/include/linux/bitops.h
index c1cb53cf2f0f..dde4ad0034ae 100644
--- a/include/linux/bitops.h
+++ b/include/linux/bitops.h
@@ -254,7 +254,7 @@ static inline int parity8(u8 val)
 {
 	/*
 	 * One explanation of this algorithm:
-	 * https://funloop.org/codex/problem/parity/README.html
+	 * http://web.archive.org/web/20250105093316/https://funloop.org/codex/problem/parity/README.html
 	 */
 	val ^= val >> 4;
 	return (0x6996 >> (val & 0xf)) & 1;
-- 
2.45.2


-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

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

end of thread, other threads:[~2025-01-29 20:34 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-25 13:01 [PATCH] bitops: use safer link explaining the algorithm Wolfram Sang
2025-01-25 13:01 ` Wolfram Sang
2025-01-25 15:10 ` Geert Uytterhoeven
2025-01-25 15:10   ` Geert Uytterhoeven
2025-01-26 17:46   ` Yury Norov
2025-01-26 17:46     ` Yury Norov
2025-01-26 20:16     ` Rasmus Villemoes
2025-01-26 20:16       ` Rasmus Villemoes
2025-01-27 11:30       ` Wolfram Sang
2025-01-27 11:30         ` Wolfram Sang
2025-01-27 11:28     ` Wolfram Sang
2025-01-27 11:28       ` Wolfram Sang
2025-01-28 13:10       ` Linus Arver
2025-01-28 13:10         ` Linus Arver
2025-01-27 11:09   ` Wolfram Sang
2025-01-27 11:09     ` Wolfram Sang
2025-01-27 13:32     ` Geert Uytterhoeven
2025-01-27 13:32       ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.