summaryrefslogtreecommitdiff
path: root/arch/arm/mach-dove
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-09-10 11:50:45 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-09-15 21:43:31 +0100
commita761cebfd7cbeaf9a3a0c6960508ca1daaebb67e (patch)
tree2e802a1aa51d74ac4b50ac2e01e67f653af87001 /arch/arm/mach-dove
parenta42c362980430be74b77ec8f374964f61062379f (diff)
ARM: Fix build warning in arch/arm/mm/alignment.c
Fix this harmless build warning: arch/arm/mm/alignment.c: In function 'do_alignment': arch/arm/mm/alignment.c:749:21: warning: 'offset.un' may be used uninitialized in this function This is caused by the compiler not being able to properly analyse the code to prove that offset.un is assigned in every case. The case it struggles with is where we assign the handler from the Thumb parser - do_alignment_t32_to_handler(). As this starts by zeroing this variable via a pointer, move it into the calling function. This fixes the warning. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-dove')
0 files changed, 0 insertions, 0 deletions