qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Duplicate nand device entries


From: Blue Swirl
Subject: [Qemu-devel] Duplicate nand device entries
Date: Tue, 9 Jun 2009 21:36:45 +0300

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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]