Received: from eggs.gnu.org ([2001:4830:134:3::10]:59542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmkNk-0004Ht-Fd for qemu-devel@nongnu.org; Wed, 21 Sep 2016 12:28:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmkNg-0001Of-64 for qemu-devel@nongnu.org; Wed, 21 Sep 2016 12:28:23 -0400 Date: Wed, 21 Sep 2016 13:28:15 -0300 From: Eduardo Habkost Message-ID: <20160921162815.GK3233@thinpad.lan.raisama.net> References: <1474435433-9029-1-git-send-email-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1474435433-9029-1-git-send-email-david@gibson.dropbear.id.au> Subject: Re: [Qemu-devel] [REPOST] sysbus: Remove ignored return value of FindSysbusDeviceFunc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org, qemu-ppc@nongnu.org, peter.maydell@linaro.org, marcel@redhat.com 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 Reviewed-by: Eduardo Habkost Applying to my machine-next branch. -- Eduardo