qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Blue Swirl <blauwirbel@gmail.com>
To: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Duplicate nand device entries
Date: Tue, 9 Jun 2009 21:36:45 +0300	[thread overview]
Message-ID: <f43fc5580906091136g6faaa5a0o15c10d31bdcdd78f@mail.gmail.com> (raw)

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	other threads:[~2009-06-09 18:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-09 18:36 Blue Swirl [this message]
2009-06-09 19:24 ` [Qemu-devel] Duplicate nand device entries Stuart Brady

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f43fc5580906091136g6faaa5a0o15c10d31bdcdd78f@mail.gmail.com \
    --to=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).