Received: from eggs.gnu.org ([208.118.235.92]:59158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7j7t-0005LT-50 for qemu-devel@nongnu.org; Wed, 14 Mar 2012 04:00:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7j7m-0004hQ-Mc for qemu-devel@nongnu.org; Wed, 14 Mar 2012 04:00:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7j7m-0004h3-EJ for qemu-devel@nongnu.org; Wed, 14 Mar 2012 03:59:58 -0400 From: Markus Armbruster References: <1331663547-30041-1-git-send-email-mark.langsdorf@calxeda.com> <4F5F981B.3010807@suse.de> Date: Wed, 14 Mar 2012 08:59:50 +0100 In-Reply-To: <4F5F981B.3010807@suse.de> ("Andreas =?utf-8?Q?F=C3=A4rber=22?= =?utf-8?Q?'s?= message of "Tue, 13 Mar 2012 19:55:23 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 2/2] qdev: fix NULL deference List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?utf-8?Q?F=C3=A4rber?= Cc: Joshua Housh , aliguori@us.ibm.com, qemu-devel@nongnu.org, Mark Langsdorf , paul@codesourcery.com Andreas F=C3=A4rber writes: > Am 13.03.2012 19:32, schrieb Mark Langsdorf: >> From: Joshua Housh >>=20 >> Make sure a BusInfo exists before trying to dereference it. > > What's the use case that breaks? Valid question. Every qdev has / used to have a parent bus, and every bus info. If that's not true anymore, it would be nice to have the commit message point to the commit that broke it.