tree: git://git.ragnatech.se/linux media-tree head: 7e6b6b945272c20f6b78d319e07f27897a8373c9 commit: 7378f1149884b183631c6c16c0f1c62bcd7d759d [13/389] media: omap2: omapfb: allow building it with COMPILE_TEST config: mips-allyesconfig (attached as .config) compiler: mips-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 7378f1149884b183631c6c16c0f1c62bcd7d759d # save the attached .config to linux build tree make.cross ARCH=mips All warnings (new ones prefixed by >>): drivers/video/fbdev//omap2/omapfb/dss/dispc.c: In function 'pixinc': >> drivers/video/fbdev//omap2/omapfb/dss/dispc.c:1859:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ drivers/video/fbdev//omap2/omapfb/dss/dispc.c:1861:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return 0; ^~~~~~ vim +/else +1859 drivers/video/fbdev//omap2/omapfb/dss/dispc.c f76ee892 Tomi Valkeinen 2015-12-09 1850 f76ee892 Tomi Valkeinen 2015-12-09 1851 static s32 pixinc(int pixels, u8 ps) f76ee892 Tomi Valkeinen 2015-12-09 1852 { f76ee892 Tomi Valkeinen 2015-12-09 1853 if (pixels == 1) f76ee892 Tomi Valkeinen 2015-12-09 1854 return 1; f76ee892 Tomi Valkeinen 2015-12-09 1855 else if (pixels > 1) f76ee892 Tomi Valkeinen 2015-12-09 1856 return 1 + (pixels - 1) * ps; f76ee892 Tomi Valkeinen 2015-12-09 1857 else if (pixels < 0) f76ee892 Tomi Valkeinen 2015-12-09 1858 return 1 - (-pixels + 1) * ps; f76ee892 Tomi Valkeinen 2015-12-09 @1859 else f76ee892 Tomi Valkeinen 2015-12-09 1860 BUG(); f76ee892 Tomi Valkeinen 2015-12-09 1861 return 0; f76ee892 Tomi Valkeinen 2015-12-09 1862 } f76ee892 Tomi Valkeinen 2015-12-09 1863 :::::: The code at line 1859 was first introduced by commit :::::: f76ee892a99e68b55402b8d4b8aeffcae2aff34d omapfb: copy omapdss & displays for omapfb :::::: TO: Tomi Valkeinen <tomi.valkeinen@xxxxxx> :::::: CC: Tomi Valkeinen <tomi.valkeinen@xxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip