From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Fri, 13 Jan 2012 14:49:50 -0700 Subject: [U-Boot] [PATCH v2 2/2] fdt: Add tests for fdtdec In-Reply-To: <1326323284-29263-3-git-send-email-sjg@chromium.org> References: <1326323284-29263-1-git-send-email-sjg@chromium.org> <1326323284-29263-3-git-send-email-sjg@chromium.org> Message-ID: <4F10A6FE.20308@nvidia.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01/11/2012 04:08 PM, Simon Glass wrote: > The fdtdec_find_aliases_for_id() function is complicated enough that > it really should have some tests. This does not necessarily need to be > committed to U-Boot, but it might be useful. > > Signed-off-by: Simon Glass > +static int run_test(const char *aliases, const char *nodes, const char *expect) ... > + va_list ptr; ... > + va_end(ptr); ptr doesn't seem to be used, and this isn't a varargs function. Otherwise, Acked-by: Stephen Warren -- nvpublic