linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Jon Loeliger <jdl@jdl.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: DTC 1.0.0 Release
Date: Fri, 10 Aug 2007 23:21:29 +0200	[thread overview]
Message-ID: <20070810212129.GA16948@aepfle.de> (raw)
In-Reply-To: <E1IJIsf-0003VN-RE@jdl.com>

On Thu, Aug 09, Jon Loeliger wrote:

> As usual, please let me know of any issues with it.

tests/truncated_property.c:45: warning: 'err' is used uninitialized in this function

(untested patch)

---
 tests/truncated_property.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/tests/truncated_property.c
+++ b/tests/truncated_property.c
@@ -33,7 +33,6 @@ int main(int argc, char *argv[])
 {
 	void *fdt = &_truncated_property;
 	const void *prop;
-	int err;
 	int len;
 
 	test_init(argc, argv);
@@ -43,7 +42,7 @@ int main(int argc, char *argv[])
 		FAIL("fdt_getprop() succeeded on truncated property");
 	if (len != -FDT_ERR_BADSTRUCTURE)
 		FAIL("fdt_getprop() failed with \"%s\" instead of \"%s\"",
-		     fdt_strerror(err), fdt_strerror(-FDT_ERR_BADSTRUCTURE));
+		     fdt_strerror(len), fdt_strerror(-FDT_ERR_BADSTRUCTURE));
 
 	PASS();
 }

  parent reply	other threads:[~2007-08-10 21:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-10  1:01 DTC 1.0.0 Release Jon Loeliger
2007-08-10  1:25 ` David Gibson
2007-08-10  3:25   ` Michael Ellerman
2007-08-10 21:21 ` Olaf Hering [this message]
2007-08-13  0:50   ` David Gibson
2007-08-13 18:30     ` Jon Loeliger

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=20070810212129.GA16948@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=jdl@jdl.com \
    --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).