Hi Andi, [auto build test WARNING on v4.5-rc1] [also build test WARNING on next-20160128] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Andi-Kleen/Optimize-int_sqrt-for-small-values-for-faster-idle/20160129-054629 config: avr32-atngw100_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=avr32 All warnings (new ones prefixed by >>): lib/int_sqrt.c: In function 'int_sqrt': >> lib/int_sqrt.c:25: warning: 'm' is used uninitialized in this function vim +/m +25 lib/int_sqrt.c 9 #include <linux/export.h> 10 11 /** 12 * int_sqrt - rough approximation to sqrt 13 * @x: integer of which to calculate the sqrt 14 * 15 * A very rough approximation to the sqrt() function. 16 */ 17 unsigned long int_sqrt(unsigned long x) 18 { 19 unsigned long b, m, y = 0; 20 21 if (x <= 1) 22 return x; 23 24 if (x <= 0xffff) { > 25 if (m <= 0xff) 26 m = 1UL << (8 - 2); 27 else 28 m = 1UL << (16 - 2); 29 } else if (x <= 0xffffffff) 30 m = 1UL << (32 - 2); 31 else 32 m = 1UL << (BITS_PER_LONG - 2); 33 while (m != 0) { --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data