qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Query about BiteSizeTasks


From: Paolo Bonzini
Subject: Re: [Qemu-devel] Query about BiteSizeTasks
Date: Mon, 21 Mar 2016 14:56:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0


On 21/03/2016 14:41, haris iqbal wrote:
> Hello,
> 
> I saw a task which says to " Add checks for NULL return value to uses
> of load_image_targphys,...". But what I saw in the codebase,
> load_image_targphys() returns int. So why should it be checks for
> NULL.

You're right, in the case of load_image_targphys the error value is -1.
 I've fixed the wiki page.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]