[PATCH 12/19] powerpc: Create msr_check_and_{set,clear}()

kbuild test robot lkp at intel.com
Thu Oct 29 18:25:51 AEDT 2015


Hi Anton,

[auto build test ERROR on powerpc/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Anton-Blanchard/Context-switch-improvements/20151029-092229
config: powerpc-virtex_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=powerpc 

Note: the linux-review/Anton-Blanchard/Context-switch-improvements/20151029-092229 HEAD 13bdf12302e872951c7835777c51a7e04f784fb0 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> arch/powerpc/kernel/process.c:106:13: error: 'msr_check_and_clear' defined but not used [-Werror=unused-function]
    static void msr_check_and_clear(unsigned long bits)
                ^
   cc1: all warnings being treated as errors

vim +/msr_check_and_clear +106 arch/powerpc/kernel/process.c

   100	#endif
   101	
   102		if (oldmsr != newmsr)
   103			mtmsr_isync(newmsr);
   104	}
   105	
 > 106	static void msr_check_and_clear(unsigned long bits)
   107	{
   108		unsigned long oldmsr = mfmsr();
   109		unsigned long newmsr;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 12779 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20151029/0e03608c/attachment.obj>


More information about the Linuxppc-dev mailing list