From: Jon Loeliger <jdl@jdl.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: linuxppc-dev@ozlabs.org, devicetree-discuss@ozlabs.org
Subject: Re: dtc: Check return value from fwrite()
Date: Mon, 17 Nov 2008 14:08:41 -0600 [thread overview]
Message-ID: <E1L2AOn-0003ef-2Q@jdl.com> (raw)
In-Reply-To: <20081107004111.GG6692@yookeroo.seuss>
> There's one place in flattree.c where we currently ignore the return
> value from fwrite(). On some gcc/glibc versions, where fwrite() is
> declared with attribute warn_unused_result, this causes a warning.
>
> This patch fixes the warning, by checking the fwrite() result.
>
> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Applied.
Thanks,
jdl
prev parent reply other threads:[~2008-11-17 20:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-07 0:41 dtc: Check return value from fwrite() David Gibson
2008-11-17 20:08 ` Jon Loeliger [this message]
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=E1L2AOn-0003ef-2Q@jdl.com \
--to=jdl@jdl.com \
--cc=david@gibson.dropbear.id.au \
--cc=devicetree-discuss@ozlabs.org \
--cc=linuxppc-dev@ozlabs.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).