On Wednesday, October 29, 2014 11:23:38 PM Fengguang Wu wrote: > On Wed, Oct 29, 2014 at 03:55:19PM +0100, Rafael J. Wysocki wrote: > > On Wednesday, October 29, 2014 01:51:29 PM Stephen Rothwell wrote: > > > Hi Rafael, > > > > Hi, > > > > > After merging the pm tree, today's linux-next build (arm > > > multi_v7_defconfig) produced this warning: > > > > > > drivers/of/base.c: In function 'of_property_read_string_array': > > > drivers/of/base.c:1472:1: warning: control reaches end of non-void > > > function [-Wreturn-type] > > > } > > > ^ > > > > > > Introduced by commit ef23586751cd ("Driver core: Unified device > > > properties interface for platform firmware"). > > > > Thanks for reporting this! > > > > > Please don't ignore new warnings ... > > > > I don't as a rule. I'm not sure why I haven't seen that before (and the > > kbuild > > robot reports BUILD SUCCESS for that branch). > > I do find the build error id: > > -rw-rw-r-- 1 kbuild kbuild 272 2014-10-29 23:11 > /kbuild-tests/build-error/drivers-of-base.c:warning:control-reaches-end-of-non-void-function > > However there happens to be an old one half year ago. Since I never > delete old warnings, it prevents the reporting of the new warning on > your tree.. > > % cat > /kbuild-tests/build-error/drivers-of-base.c:warning:control-reaches-end-of-non-void-function > drivers/of/base.c:1147:1: warning: control reaches end of non-void function > [-Wreturn-type] > > 2014-04-17 02:59:49 lkp-ib04 > socfpga-nex:socfpga_for_next_dts_overlays:bdb1f0c2cbe39db8f4a2ac4794001ba2e99cb65b > i386-randconfig-i001-0414 f11752c03ccfd747a1f0740955682a > 304933361c > > The easiest way to fix it is to delete any old error/warnings that > have been *inactive* for more than 2 months (which means they are > likely fixed).
That could be done more aggressively even in my view. If something is inactive for two weeks, then it probably has been fixed (this way or another). Kind regards, Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/