[Top] [All Lists]

Re: [PATCH RESEND v3 4/4] MIPS: Loongson64: Load platform device during

To: Jiaxun Yang <>
Subject: Re: [PATCH RESEND v3 4/4] MIPS: Loongson64: Load platform device during boot
From: kbuild test robot <>
Date: Thu, 7 Dec 2017 12:01:15 +0800
Cc:, James Hogan <>, Ralf Baechle <>,,, Jiaxun Yang <>
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.5.23 (2014-03-12)
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]

config: mips-lemote2f_defconfig (attached as .config)
compiler: mips64el-linux-gnuabi64-gcc (Debian 7.2.0-11) 7.2.0
        wget -O 
        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 
>> 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

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

0-DAY kernel test infrastructure                Open Source Technology Center                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

<Prev in Thread] Current Thread [Next in Thread>