From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ME6Bp-0008AH-3Y for qemu-devel@nongnu.org; Tue, 09 Jun 2009 14:36:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ME6Bk-00081s-GB for qemu-devel@nongnu.org; Tue, 09 Jun 2009 14:36:52 -0400 Received: from [199.232.76.173] (port=34498 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME6Bk-00081W-1U for qemu-devel@nongnu.org; Tue, 09 Jun 2009 14:36:48 -0400 Received: from mail-fx0-f219.google.com ([209.85.220.219]:63480) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ME6Bj-0000mV-Jf for qemu-devel@nongnu.org; Tue, 09 Jun 2009 14:36:47 -0400 Received: by fxm19 with SMTP id 19so189399fxm.34 for ; Tue, 09 Jun 2009 11:36:45 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 9 Jun 2009 21:36:45 +0300 Message-ID: From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Duplicate nand device entries List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Hi, Sparse gives this warning: /src/qemu/hw/nand.c:129:6: warning: Initializer entry defined twice /src/qemu/hw/nand.c:150:6: also defined here The offending lines are: [0x39] = { 8, 8, 9, 4, 0 }, [0x39] = { 128, 8, 9, 5, 0 }, The file refers to Linux: /* Information based on Linux drivers/mtd/nand/nand_ids.c */ But the same problem exists on Linux: {"NAND 8MiB 1,8V 8-bit", 0x39, 512, 8, 0x2000, 0}, {"NAND 128MiB 1,8V 8-bit", 0x39, 512, 128, 0x4000, 0}, What should be the correct entry?