All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] C99 initializers for asm-ia64/include/xor.h
@ 2003-06-17  0:46 Art Haas
  2003-06-17  0:49 ` David Mosberger
  0 siblings, 1 reply; 2+ messages in thread
From: Art Haas @ 2003-06-17  0:46 UTC (permalink / raw)
  To: David Mosberger-Tang, linux-ia64; +Cc: linux-kernel, Linus Torvalds

Hi.

This patch converts the file to use C99 initializers. The patch is
against the current BK and is untested as I don't have access to the
hardware.

Art Haas

===== include/asm-ia64/xor.h 1.1 vs edited =====
--- 1.1/include/asm-ia64/xor.h	Tue Feb  5 11:39:54 2002
+++ edited/include/asm-ia64/xor.h	Mon Jun 16 18:11:19 2003
@@ -273,11 +273,11 @@
 ");
 
 static struct xor_block_template xor_block_ia64 = {
-	name: "ia64",
-	do_2: xor_ia64_2,
-	do_3: xor_ia64_3,
-	do_4: xor_ia64_4,
-	do_5: xor_ia64_5,
+	.name	= "ia64",
+	.do_2	= xor_ia64_2,
+	.do_3	= xor_ia64_3,
+	.do_4	= xor_ia64_4,
+	.do_5	= xor_ia64_5,
 };
 
 #define XOR_TRY_TEMPLATES	xor_speed(&xor_block_ia64)
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822

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

end of thread, other threads:[~2003-06-17  0:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-17  0:46 [PATCH] C99 initializers for asm-ia64/include/xor.h Art Haas
2003-06-17  0:49 ` David Mosberger

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.