From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Anthony Liguori <aliguori@us.ibm.com>,
Stefan Hajnoczi <stefanha@redhat.com>,
liguang <lig.fnst@cn.fujitsu.com>
Subject: [Qemu-devel] [PATCH 8/8] qdev: remove redundant abort()
Date: Fri, 22 Mar 2013 16:14:21 +0100 [thread overview]
Message-ID: <1363965261-22267-9-git-send-email-stefanha@redhat.com> (raw)
In-Reply-To: <1363965261-22267-1-git-send-email-stefanha@redhat.com>
From: liguang <lig.fnst@cn.fujitsu.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
hw/qdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hw/qdev.c b/hw/qdev.c
index 0b20280..708a058 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -117,11 +117,10 @@ DeviceState *qdev_create(BusState *bus, const char *name)
if (bus) {
error_report("Unknown device '%s' for bus '%s'", name,
object_get_typename(OBJECT(bus)));
- abort();
} else {
error_report("Unknown device '%s' for default sysbus", name);
- abort();
}
+ abort();
}
return dev;
--
1.8.1.4
prev parent reply other threads:[~2013-03-22 15:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-22 15:14 [Qemu-devel] [PULL 0/8] Trivial patches for 9 to 22 March 2013 Stefan Hajnoczi
2013-03-22 15:14 ` [Qemu-devel] [PATCH 1/8] MinGW: Replace setsockopt by qemu_setsocketopt Stefan Hajnoczi
2013-03-22 15:14 ` [Qemu-devel] [PATCH 2/8] memory: fix a bug of detection of memory region collision Stefan Hajnoczi
2013-03-22 15:14 ` [Qemu-devel] [PATCH 3/8] Advertise --libdir in configure --help output Stefan Hajnoczi
2013-03-22 15:14 ` [Qemu-devel] [PATCH 4/8] Fix typos and misspellings Stefan Hajnoczi
2013-03-22 15:14 ` [Qemu-devel] [PATCH 5/8] serial: Fix debug format strings Stefan Hajnoczi
2013-03-22 15:14 ` [Qemu-devel] [PATCH 6/8] Use proper term in TCG README Stefan Hajnoczi
2013-03-22 15:14 ` [Qemu-devel] [PATCH 7/8] gitignore: ignore more files Stefan Hajnoczi
2013-03-22 15:14 ` Stefan Hajnoczi [this message]
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=1363965261-22267-9-git-send-email-stefanha@redhat.com \
--to=stefanha@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=lig.fnst@cn.fujitsu.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).