From: "Emilio G. Cota" <cota@braap.org>
To: qemu-devel@nongnu.org
Cc: Laszlo Ersek <lersek@redhat.com>
Subject: [Qemu-devel] [PATCH] i440fx-test: remove ARRAY_SIZE redefinition
Date: Sun, 26 Apr 2015 18:04:27 -0400 [thread overview]
Message-ID: <1430085867-22514-1-git-send-email-cota@braap.org> (raw)
It's defined in osdep.h and shouldn't be redefined here.
Signed-off-by: Emilio G. Cota <cota@braap.org>
---
tests/i440fx-test.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/i440fx-test.c b/tests/i440fx-test.c
index d0bc8de..33a7ecb 100644
--- a/tests/i440fx-test.c
+++ b/tests/i440fx-test.c
@@ -27,8 +27,6 @@
#define BROKEN 1
-#define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0]))
-
typedef struct TestData
{
int num_cpus;
--
1.9.1
next reply other threads:[~2015-04-26 22:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-26 22:04 Emilio G. Cota [this message]
2015-04-27 2:18 ` [Qemu-devel] [PATCH] i440fx-test: remove ARRAY_SIZE redefinition Peter Crosthwaite
2015-04-27 15:39 ` Emilio G. Cota
2015-04-27 15:40 ` Paolo Bonzini
2015-04-29 6:31 ` Michael Tokarev
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=1430085867-22514-1-git-send-email-cota@braap.org \
--to=cota@braap.org \
--cc=lersek@redhat.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).