From: Paolo Bonzini <pbonzini@redhat.com>
To: haris iqbal <haris.phnx@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Query about BiteSizeTasks
Date: Mon, 21 Mar 2016 14:56:18 +0100 [thread overview]
Message-ID: <56EFFD82.5040404@redhat.com> (raw)
In-Reply-To: <CAE_WKMy2s8v2L=S4YfBg0H8hWGvAvFd=TDoBirdbUJMqbPfBVQ@mail.gmail.com>
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
next prev parent reply other threads:[~2016-03-21 13:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-21 13:41 [Qemu-devel] Query about BiteSizeTasks haris iqbal
2016-03-21 13:56 ` Paolo Bonzini [this message]
2016-03-21 14:09 ` haris iqbal
2016-03-22 4:34 ` haris iqbal
2016-03-22 8:30 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56EFFD82.5040404@redhat.com \
--to=pbonzini@redhat.com \
--cc=haris.phnx@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).