Re: [PATCH] rtc-bfin: add missing "return 0" in new alarm func

From: John Stultz
Date: Fri Mar 18 2011 - 21:18:23 EST


On Fri, 2011-03-18 at 04:26 -0400, Mike Frysinger wrote:
> The new bfin_rtc_alarm_irq_enable function forgot to add a "return 0" to
> the end leading to the build warning:
> drivers/rtc/rtc-bfin.c: In function 'bfin_rtc_alarm_irq_enable':
> drivers/rtc/rtc-bfin.c:253: warning: control reaches end of non-void function
>
> CC: stable@xxxxxxxxxx
> Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>

Thanks for catching this!

Acked-by: John Stultz <john.stultz@xxxxxxxxxx>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/