On Fri, Mar 18, 2011 at 10:26, Harry Wei wrote: > On Fri, Mar 18, 2011 at 04:26:24AM -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 > > I am sure we should give a return-value > but whether it is '0'? Maybe it should return > other value. > Can you give some explanations for yours.
read the interface.c code ... this func returns 0 on "success". i dont know what other possible value this could return. -mike _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
