From: Geert Uytterhoeven Date: Tue, 30 Dec 2008 13:01:07 +0000 (+0100) Subject: m68k: apollo core - Kill warn_unused_result warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=844306538920b3aaf6806e238f0c0309a1e2bb5f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git m68k: apollo core - Kill warn_unused_result warnings warning: ignoring return value of 'request_irq', declared with attribute warn_unused_result Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/m68k/apollo/config.c b/arch/m68k/apollo/config.c index cf215a082cc6..8d3eafab1ffe 100644 --- a/arch/m68k/apollo/config.c +++ b/arch/m68k/apollo/config.c @@ -200,7 +200,8 @@ void dn_sched_init(irq_handler_t timer_routine) printk("*(0x10803) %02x\n",*(volatile unsigned char *)(timer+0x3)); #endif - request_irq(IRQ_APOLLO, dn_timer_int, 0, "time", timer_routine); + if (request_irq(IRQ_APOLLO, dn_timer_int, 0, "time", timer_routine)) + pr_err("Couldn't register timer interrupt\n"); } unsigned long dn_gettimeoffset(void) {