Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 27 Feb 2003 16:33:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 27 Feb 2003 16:33:24 -0500 Received: from covert.black-ring.iadfw.net ([209.196.123.142]:49926 "EHLO covert.brown-ring.iadfw.net") by vger.kernel.org with ESMTP id ; Thu, 27 Feb 2003 16:31:53 -0500 Date: Thu, 27 Feb 2003 15:38:19 -0600 From: Art Haas To: Neil Brown , linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Torvalds Subject: [PATCH] C99 initiailzers for xor.h Message-ID: <20030227213819.GB8116@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.3i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1935 Lines: 75 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/