Hi Jiaxun,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.15-rc2 next-20171206]
[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/Jiaxun-Yang/MIPS-Lonngson64-Copy-kernel-command-line-from-arcs_cmdline/20171206-065745
config: mips-lemote2f_defconfig (attached as .config)
compiler: mips64el-linux-gnuabi64-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
        # save the attached .config to linux build tree
        make.cross ARCH=mips 

All errors (new ones prefixed by >>):

   arch/mips/loongson64/lemote-2f/platform.c: In function 
'lemote2f_platform_init':
>> arch/mips/loongson64/lemote-2f/platform.c:24:9: error: return makes integer 
>> from pointer without a cast [-Werror=int-conversion]
     return platform_device_register_simple("yeeloong_laptop", -1, NULL, 0);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors

vim +24 arch/mips/loongson64/lemote-2f/platform.c

    18  
    19  static int __init lemote2f_platform_init(void)
    20  {
    21          if (mips_machtype != MACH_LEMOTE_YL2F89)
    22                  return -ENODEV;
    23  
  > 24          return platform_device_register_simple("yeeloong_laptop", -1, 
NULL, 0);
    25  }
    26  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to