projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92c3dd1
)
m68k: mvme147 core - Kill warn_unused_result warnings
author
Geert Uytterhoeven
<
[email protected]
>
Tue, 30 Dec 2008 13:03:28 +0000
(14:03 +0100)
committer
Geert Uytterhoeven
<
[email protected]
>
Mon, 12 Jan 2009 19:56:37 +0000
(20:56 +0100)
warning: ignoring return value of 'request_irq', declared with attribute
warn_unused_result
Signed-off-by: Geert Uytterhoeven <
[email protected]
>
arch/m68k/mvme147/config.c
patch
|
blob
|
history
diff --git
a/arch/m68k/mvme147/config.c
b/arch/m68k/mvme147/config.c
index b72f079ec2f3472050522a7d3a374bbf2e1feae8..100baaa692a14fecc4d1cf74c995d3b43f210e1c 100644
(file)
--- a/
arch/m68k/mvme147/config.c
+++ b/
arch/m68k/mvme147/config.c
@@
-114,8
+114,9
@@
static irqreturn_t mvme147_timer_int (int irq, void *dev_id)
void mvme147_sched_init (irq_handler_t timer_routine)
{
tick_handler = timer_routine;
- request_irq (PCC_IRQ_TIMER1, mvme147_timer_int,
- IRQ_FLG_REPLACE, "timer 1", NULL);
+ if (request_irq(PCC_IRQ_TIMER1, mvme147_timer_int, IRQ_FLG_REPLACE,
+ "timer 1", NULL))
+ pr_err("Couldn't register timer interrupt\n");
/* Init the clock with a value */
/* our clock goes off every 6.25us */