Hi Matt, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.12 next-20170714] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Matt-Brown/powerpc-lib-sstep-Add-cmpb-instruction-emulation/20170714-020837 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: powerpc-chrp32_defconfig (attached as .config) compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=powerpc All errors (new ones prefixed by >>): arch/powerpc/lib/sstep.c: In function 'do_prtyw': >> arch/powerpc/lib/sstep.c:673:16: error: left shift count >= width of type >> [-Werror=shift-count-overflow] out |= (high << 32); ^~ cc1: all warnings being treated as errors vim +673 arch/powerpc/lib/sstep.c 654 655 static nokprobe_inline void do_prtyw(struct pt_regs *regs, unsigned long v, 656 int ra) 657 { 658 unsigned long low, high, out; 659 unsigned int i; 660 661 high = 0; 662 low = 0; 663 out = 0; 664 665 for (i = 0; i < 8; i++) { 666 if (v & (1 << (i * 8))) 667 (i < 4) ? (low++) : (high++); 668 } 669 670 if (low % 2) 671 out |= low; 672 if (high % 2) > 673 out |= (high << 32); 674 675 regs->gpr[ra] = out; 676 } 677 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip