* [PATCH] C99 initiailzers for xor.h
@ 2003-02-27 21:38 Art Haas
0 siblings, 0 replies; only message in thread
From: Art Haas @ 2003-02-27 21:38 UTC (permalink / raw)
To: Neil Brown, linux-raid, linux-kernel; +Cc: Linus Torvalds
Hi.
This patch converts the file to use C99 initializers. It's against the
current BK.
Art Haas
===== include/asm-generic/xor.h 1.2 vs edited =====
--- 1.2/include/asm-generic/xor.h Mon Oct 21 03:13:10 2002
+++ edited/include/asm-generic/xor.h Thu Feb 27 10:27:14 2003
@@ -678,35 +678,35 @@
}
static struct xor_block_template xor_block_8regs = {
- name: "8regs",
- do_2: xor_8regs_2,
- do_3: xor_8regs_3,
- do_4: xor_8regs_4,
- do_5: xor_8regs_5,
+ .name = "8regs",
+ .do_2 = xor_8regs_2,
+ .do_3 = xor_8regs_3,
+ .do_4 = xor_8regs_4,
+ .do_5 = xor_8regs_5,
};
static struct xor_block_template xor_block_32regs = {
- name: "32regs",
- do_2: xor_32regs_2,
- do_3: xor_32regs_3,
- do_4: xor_32regs_4,
- do_5: xor_32regs_5,
+ .name = "32regs",
+ .do_2 = xor_32regs_2,
+ .do_3 = xor_32regs_3,
+ .do_4 = xor_32regs_4,
+ .do_5 = xor_32regs_5,
};
static struct xor_block_template xor_block_8regs_p = {
- name: "8regs_prefetch",
- do_2: xor_8regs_p_2,
- do_3: xor_8regs_p_3,
- do_4: xor_8regs_p_4,
- do_5: xor_8regs_p_5,
+ .name = "8regs_prefetch",
+ .do_2 = xor_8regs_p_2,
+ .do_3 = xor_8regs_p_3,
+ .do_4 = xor_8regs_p_4,
+ .do_5 = xor_8regs_p_5,
};
static struct xor_block_template xor_block_32regs_p = {
- name: "32regs_prefetch",
- do_2: xor_32regs_p_2,
- do_3: xor_32regs_p_3,
- do_4: xor_32regs_p_4,
- do_5: xor_32regs_p_5,
+ .name = "32regs_prefetch",
+ .do_2 = xor_32regs_p_2,
+ .do_3 = xor_32regs_p_3,
+ .do_4 = xor_32regs_p_4,
+ .do_5 = xor_32regs_p_5,
};
#define XOR_TRY_TEMPLATES \
--
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review of Pennsylvania, 1759
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-27 21:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-27 21:38 [PATCH] C99 initiailzers for xor.h Art Haas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).