From: kbuild test robot <lkp@intel.com>
To: Hari Bathini <hbathini@linux.vnet.ibm.com>
Cc: kbuild-all@01.org, linuxppc-dev <linuxppc-dev@ozlabs.org>,
sjitindarsingh@gmail.com, stable@vger.kernel.org#2.6.15+,
Paul Mackerras <paulus@samba.org>,
ben@codiert.org
Subject: Re: [PATCH 2/4] powerpc/prom: fix early parsing of parameters
Date: Sun, 6 Aug 2017 16:36:44 +0800 [thread overview]
Message-ID: <201708061624.330DSbo4%fengguang.wu@intel.com> (raw)
In-Reply-To: <150175228769.9806.13262099086753853191.stgit@hbathini.in.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 2011 bytes --]
Hi Hari,
[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.13-rc3 next-20170804]
[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/Hari-Bathini/powerpc-prom-avoid-endian-conversions-for-linux-memory-limit-node/20170804-060315
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-mpc836x_rdk_defconfig (attached as .config)
compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/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=powerpc
Note: the linux-review/Hari-Bathini/powerpc-prom-avoid-endian-conversions-for-linux-memory-limit-node/20170804-060315 HEAD 10b214586e70ec6cd64fea14d0e0997cf74a6fea builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
>> arch/powerpc/kernel/prom_init.c:600:13: error: 'is_substring_param' defined but not used [-Werror=unused-function]
static bool is_substring_param(const char *cmdline, const char *str)
^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/is_substring_param +600 arch/powerpc/kernel/prom_init.c
595
596 /*
597 * Check if str is a suffix of another param as "mem=" could
598 * be "iomem=" as well.
599 */
> 600 static bool is_substring_param(const char *cmdline, const char *str)
601 {
602 char *p;
603 bool ret = false;
604
605 if (cmdline == str)
606 ret = true;
607 else {
608 p = (char *)(str - 1);
609 if (*p == ' ' || *p == '"')
610 ret = true;
611 }
612
613 return ret;
614 }
615
---
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: 15014 bytes --]
next prev parent reply other threads:[~2017-08-06 8:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-03 9:24 [PATCH 1/4] powerpc/prom: avoid endian conversions for linux, memory-limit node Hari Bathini
2017-08-03 9:24 ` [PATCH 2/4] powerpc/prom: fix early parsing of parameters Hari Bathini
2017-08-06 8:36 ` kbuild test robot [this message]
2017-08-03 9:25 ` [PATCH 3/4] powerpc/prom: fix early parsing of 'mem=' parameter Hari Bathini
2017-08-03 9:25 ` [PATCH 4/4] powerpc/prom: fix early parsing of 'disable_radix' parameter Hari Bathini
2017-08-04 1:37 ` [PATCH 1/4] powerpc/prom: avoid endian conversions for linux, memory-limit node Benjamin Herrenschmidt
2017-08-04 1:47 ` Benjamin Herrenschmidt
2017-08-04 5:35 ` Hari Bathini
2017-08-04 3:51 ` Michael Ellerman
2017-08-04 5:32 ` Hari Bathini
2017-08-04 10:14 ` Michael Ellerman
2017-08-04 18:38 ` Hari Bathini
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=201708061624.330DSbo4%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=ben@codiert.org \
--cc=hbathini@linux.vnet.ibm.com \
--cc=kbuild-all@01.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
--cc=sjitindarsingh@gmail.com \
--cc=stable@vger.kernel.org#2.6.15+ \
/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;
as well as URLs for NNTP newsgroup(s).