[U-Boot] [PATCH] tegra2: fix warning: "assert" redefined

Simon Glass sjg at chromium.org
Mon Sep 12 06:39:46 CEST 2011


Hi Wolfgang,

On Sat, Sep 10, 2011 at 1:44 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Wolfgang Denk,
>
> In message <1315664363-3979-1-git-send-email-wd at denx.de> you wrote:
>> Commit 21726a7 "Add assert() for debug assertions" caused build
>> warnings for all tegra2 based boards:
>>
>> clock.c:36:1: warning: "assert" redefined
>> In file included from clock.c:29:
>> include/common.h:144:1: warning: this is the location of the previous definition

Thanks again. The patch set I just sent out modifies the assert() in
this file, but I will remove it in V2.

Regards,
Simon

>>
>> Signed-off-by: Wolfgang Denk <wd at denx.de>
>> Cc: Simon Glass <sjg at chromium.org>
>> ---
>>  arch/arm/cpu/armv7/tegra2/clock.c |    8 --------
>>  1 files changed, 0 insertions(+), 8 deletions(-)
>
> Applied, thanks.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> "More software projects have gone awry for lack of calendar time than
> for all other causes combined."
>                         - Fred Brooks, Jr., _The Mythical Man Month_
>


More information about the U-Boot mailing list