[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [REPOST] sysbus: Remove ignored return value of FindS
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-trivial] [REPOST] sysbus: Remove ignored return value of FindSysbusDeviceFunc |
Date: |
Wed, 21 Sep 2016 13:28:15 -0300 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
On Wed, Sep 21, 2016 at 03:23:53PM +1000, David Gibson wrote:
> Functions of type FindSysbusDeviceFunc currently return an integer.
> However, this return value is always ignored by the caller in
> find_sysbus_device().
>
> This changes the function type to return void, to avoid confusion over
> the function semantics.
>
> Signed-off-by: David Gibson <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
Applying to my machine-next branch.
--
Eduardo