[U-Boot] [PATCH] omap4: fix build warning due to signed unsigned comparison
Albert ARIBAUD
albert.u.boot at aribaud.net
Sun Aug 21 10:17:36 CEST 2011
Hi Aneesh,
Le 21/08/2011 09:40, Aneesh V a écrit :
> Signed-off-by: Aneesh V<aneesh at ti.com>
> ---
> arch/arm/include/asm/arch-omap4/clocks.h | 12 ++++++------
> 1 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/include/asm/arch-omap4/clocks.h b/arch/arm/include/asm/arch-omap4/clocks.h
> index 374e064..45c947d 100644
> --- a/arch/arm/include/asm/arch-omap4/clocks.h
> +++ b/arch/arm/include/asm/arch-omap4/clocks.h
> @@ -679,12 +679,12 @@ struct dpll_regs {
> struct dpll_params {
> u32 m;
> u32 n;
> - u8 m2;
> - u8 m3;
> - u8 m4;
> - u8 m5;
> - u8 m6;
> - u8 m7;
> + s8 m2;
> + s8 m3;
> + s8 m4;
> + s8 m5;
> + s8 m6;
> + s8 m7;
> };
>
> #endif /* _CLOCKS_OMAP4_H_ */
Considering that is trivial, that it fixes the warnings on two ARM
boards, that Sandeep allowed me to pull in some OMAP patches directly in
u-boot-arm, and that will make
<http://patchwork.ozlabs.org/patch/108865/> build omap4 boards cleanly,
Applied to u-boot-arm/master, thanks!
Amicalement,
--
Albert.
More information about the U-Boot
mailing list