mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] C99 initializers for asm-sparc/include/xor.h
@ 2003-06-17  0:48 Art Haas
  2003-06-17  1:24 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Art Haas @ 2003-06-17  0:48 UTC (permalink / raw)
  To: sparclinux, ultralinux; +Cc: linux-kernel, Linus Torvalds

Hi.

These two patches fix the xor.h files to use C99 initializers. The
patches are against the current BK, and both are untested as I don't
have access to the hardware.

Art Haas

===== include/asm-sparc/xor.h 1.2 vs edited =====
--- 1.2/include/asm-sparc/xor.h	Tue Feb  5 01:53:56 2002
+++ edited/include/asm-sparc/xor.h	Mon Jun 16 18:10:35 2003
@@ -250,11 +250,11 @@
 }
 
 static struct xor_block_template xor_block_SPARC = {
-	name: "SPARC",
-	do_2: sparc_2,
-	do_3: sparc_3,
-	do_4: sparc_4,
-	do_5: sparc_5,
+	.name	= "SPARC",
+	.do_2	= sparc_2,
+	.do_3	= sparc_3,
+	.do_4	= sparc_4,
+	.do_5	= sparc_5,
 };
 
 /* For grins, also test the generic routines.  */
===== include/asm-sparc64/xor.h 1.2 vs edited =====
--- 1.2/include/asm-sparc64/xor.h	Tue Feb  5 01:54:46 2002
+++ edited/include/asm-sparc64/xor.h	Mon Jun 16 18:22:58 2003
@@ -388,11 +388,11 @@
 ");
 
 static struct xor_block_template xor_block_VIS = {
-        name: "VIS",
-        do_2: xor_vis_2,
-        do_3: xor_vis_3,
-        do_4: xor_vis_4,
-        do_5: xor_vis_5,
+        .name	= "VIS",
+        .do_2	= xor_vis_2,
+        .do_3	= xor_vis_3,
+        .do_4	= xor_vis_4,
+        .do_5	= xor_vis_5,
 };
 
 #define XOR_TRY_TEMPLATES       xor_speed(&xor_block_VIS)
-- 
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

* Re: [PATCH] C99 initializers for asm-sparc/include/xor.h
  2003-06-17  0:48 [PATCH] C99 initializers for asm-sparc/include/xor.h Art Haas
@ 2003-06-17  1:24 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2003-06-17  1:24 UTC (permalink / raw)
  To: ahaas; +Cc: sparclinux, ultralinux, linux-kernel, torvalds

   From: Art Haas <ahaas@airmail.net>
   Date: Mon, 16 Jun 2003 19:48:00 -0500

   These two patches fix the xor.h files to use C99 initializers. The
   patches are against the current BK, and both are untested as I don't
   have access to the hardware.

Applied, thanks Art.

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

end of thread, other threads:[~2003-06-17  1:15 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:48 [PATCH] C99 initializers for asm-sparc/include/xor.h Art Haas
2003-06-17  1:24 ` David S. Miller

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®