projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba703e1
)
powerpc/44x: Fix build error with -Werror for Warp platform
author
Josh Boyer
<jwboyer@linux.vnet.ibm.com>
Sun, 5 Jul 2009 14:02:15 +0000
(10:02 -0400)
committer
Josh Boyer
<jwboyer@linux.vnet.ibm.com>
Sun, 5 Jul 2009 14:02:15 +0000
(10:02 -0400)
With -Werror enabled during the build, the warp.c file fails to build
due to the temp_isr function not containing a return statement. This
fixes the build error and documents that the function never returns.
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/platforms/44x/warp.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/44x/warp.c
b/arch/powerpc/platforms/44x/warp.c
index
9916b39
..
e5c1b09
100644
(file)
--- a/
arch/powerpc/platforms/44x/warp.c
+++ b/
arch/powerpc/platforms/44x/warp.c
@@
-163,6
+163,9
@@
static irqreturn_t temp_isr(int irq, void *context)
value ^= 1;
mdelay(500);
}
+
+ /* Not reached */
+ return IRQ_HANDLED;
}
static int pika_setup_leds(void)