From: kbuild test robot <lkp@intel.com>
To: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: kbuild-all@01.org, James Hogan <james.hogan@mips.com>,
Ralf Baechle <ralf@linux-mips.org>,
linux-mips@linux-mips.org, linux-kernel@vger.kernel.org,
Jiaxun Yang <jiaxun.yang@flygoat.com>
Subject: Re: [PATCH RESEND v3 4/4] MIPS: Loongson64: Load platform device during boot
Date: Thu, 7 Dec 2017 12:01:15 +0800 [thread overview]
Message-ID: <201712070925.1HssQ2WO%fengguang.wu@intel.com> (raw)
In-Reply-To: <20171204092312.11256-5-jiaxun.yang@flygoat.com>
[-- Attachment #1: Type: text/plain, Size: 1661 bytes --]
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 #2: .config.gz --]
[-- Type: application/gzip, Size: 20833 bytes --]
prev parent reply other threads:[~2017-12-07 4:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-04 9:23 Add support for lemote-2f YeeLoong laptop (RESEND) Jiaxun Yang
2017-12-04 9:23 ` [PATCH RESEND v3 1/4] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline Jiaxun Yang
2017-12-04 9:23 ` [PATCH RESEND v3 2/4] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up Jiaxun Yang
2017-12-04 9:23 ` [PATCH RESEND v3 3/4] MIPS: Loongson64: Yeeloong add platform driver Jiaxun Yang
2017-12-04 9:23 ` [PATCH RESEND v3 4/4] MIPS: Loongson64: Load platform device during boot Jiaxun Yang
2017-12-07 4:01 ` kbuild test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201712070925.1HssQ2WO%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=james.hogan@mips.com \
--cc=jiaxun.yang@flygoat.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®