public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] omap4: fix build warning due to signed unsigned comparison
@ 2011-08-21  7:40 Aneesh V
  2011-08-21  8:17 ` Albert ARIBAUD
  0 siblings, 1 reply; 2+ messages in thread
From: Aneesh V @ 2011-08-21  7:40 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Aneesh V <aneesh@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_ */
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] omap4: fix build warning due to signed unsigned comparison
  2011-08-21  7:40 [U-Boot] [PATCH] omap4: fix build warning due to signed unsigned comparison Aneesh V
@ 2011-08-21  8:17 ` Albert ARIBAUD
  0 siblings, 0 replies; 2+ messages in thread
From: Albert ARIBAUD @ 2011-08-21  8:17 UTC (permalink / raw)
  To: u-boot

Hi Aneesh,

Le 21/08/2011 09:40, Aneesh V a ?crit :
> Signed-off-by: Aneesh V<aneesh@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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-21  8:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-21  7:40 [U-Boot] [PATCH] omap4: fix build warning due to signed unsigned comparison Aneesh V
2011-08-21  8:17 ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox