Re: [PATCH] ARM: Fix build warning in do_alignment.

2012-09-10 Thread Chanho Min
> What it's caused by is do_alignment_t32_to_handler(), and its assignment > through a pointer of this variable. You can see that this is the cause > because the patch below fixes the warning. We couldn't fix the warning with your patch. the patch below fixes it instead. IMHO, gcc can't seems to k

Re: [PATCH] ARM: Fix build warning in do_alignment.

2012-09-10 Thread Russell King - ARM Linux
On Mon, Sep 10, 2012 at 12:25:15PM +0900, Chanho Min wrote: > Fix the following build warning: > > arch/arm/mm/alignment.c: In function 'do_alignment': > arch/arm/mm/alignment.c:327:15: warning: 'offset.un' may be used > uninitialized in this function [-Wuninitialized] > arch/arm/mm/alignment.c:74

[PATCH] ARM: Fix build warning in do_alignment.

2012-09-09 Thread Chanho Min
Fix the following build warning: arch/arm/mm/alignment.c: In function 'do_alignment': arch/arm/mm/alignment.c:327:15: warning: 'offset.un' may be used uninitialized in this function [-Wuninitialized] arch/arm/mm/alignment.c:749:21: note: 'offset.un' was declared here Signed-off-by: Chanho Min --