[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] sysbus: Guard against NULL SysBusDevice::init f
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] sysbus: Guard against NULL SysBusDevice::init fn |
Date: |
Sun, 3 Mar 2013 21:27:57 +0800 |
On 3 March 2013 21:19, Andreas Färber <address@hidden> wrote:
> Am 03.03.2013 06:30, schrieb Peter Crosthwaite:
>> Fix by guarding the call to SysBusDevice::init against a NULL pointer. If no
>> pointer is defined return 0 without action.
>>
>> Signed-off-by: Peter Crosthwaite <address@hidden>
>
> While the patch is correct, I believe PMM already posted one using an
> extra if two weeks ago as part of some series...
Yep, http://patchwork.ozlabs.org/patch/222985/
-- PMM