On Mon, Mar 21, 2016 at 7:26 PM, Paolo Bonzini <pbonz...@redhat.com> wrote:
>
>
> 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.


Thanks.

>
> Paolo



-- 

With regards,

Md Haris Iqbal,
Placement Coordinator, MTech IT
NITK Surathkal,
Contact: +91 8861996962

Reply via email to