Received: from eggs.gnu.org ([2001:4830:134:3::10]:32975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb4Bj-0004nd-Qj for qemu-devel@nongnu.org; Tue, 29 Oct 2013 03:58:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vb4Bd-0003Mz-Rh for qemu-devel@nongnu.org; Tue, 29 Oct 2013 03:58:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:65266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb4Bd-0003Ms-Je for qemu-devel@nongnu.org; Tue, 29 Oct 2013 03:58:01 -0400 From: Markus Armbruster Date: Tue, 29 Oct 2013 08:57:54 +0100 Message-ID: <87d2moh5kt.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] There are two distinct qdevs named TYPE_OPENPROM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Blue Swirl , Andreas =?utf-8?Q?F=C3=A4rber?= , Anthony Liguori sun4m.c and sun4u.c both define a qdev named TYPE_OPENPROM. As far as I can tell, they differ only in the name of their memory region. If they ever get linked into the same executable, type_register_internal() will reject the second one. But they aren't, so this isn't a bug. Is it bad style?