lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201712070925.1HssQ2WO%fengguang.wu@intel.com>
Date:   Thu, 7 Dec 2017 12:01:15 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Jiaxun Yang <jiaxun.yang@...goat.com>
Cc:     kbuild-all@...org, James Hogan <james.hogan@...s.com>,
        Ralf Baechle <ralf@...ux-mips.org>, linux-mips@...ux-mips.org,
        linux-kernel@...r.kernel.org, Jiaxun Yang <jiaxun.yang@...goat.com>
Subject: Re: [PATCH RESEND v3 4/4] MIPS: Loongson64: Load platform device
 during boot

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

Download attachment ".config.gz" of type "application/gzip" (20833 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ