[PATCH] arch: consolidate pm_power_off callback

kernel test robot lkp at intel.com
Sat Dec 26 18:05:35 EST 2020


Hi "Enrico,

I love your patch! Yet something to improve:

[auto build test ERROR on powerpc/next]
[also build test ERROR on linux/master arm/for-next arm64/for-next/core m68k/for-next linus/master v5.10 next-20201223]
[cannot apply to arc/for-next uclinux-h8/h8300-next ia64/next nios2/for-linus]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Enrico-Weigelt-metux-IT-consult/arch-consolidate-pm_power_off-callback/20201223-025109
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/8c71c92c0cdeb84fc023e18d7a59542a24801d3e
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Enrico-Weigelt-metux-IT-consult/arch-consolidate-pm_power_off-callback/20201223-025109
        git checkout 8c71c92c0cdeb84fc023e18d7a59542a24801d3e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   powerpc64-linux-ld: kernel/reboot.o:(.bss.pm_power_off+0x0): multiple definition of `pm_power_off'; arch/powerpc/kernel/setup-common.o:(.bss.pm_power_off+0x0): first defined here
   powerpc64-linux-ld: kernel/reboot.o: in function `__crc_pm_power_off':
>> (.rodata+0x8): multiple definition of `__crc_pm_power_off'; arch/powerpc/kernel/setup-common.o:(.rodata+0x18): first defined here

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 72253 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20201227/4a985ad5/attachment.gz>


More information about the linux-riscv mailing list