[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201611031805.lvnhyLu8%fengguang.wu@intel.com>
Date: Thu, 3 Nov 2016 18:26:12 +0800
From: kbuild test robot <lkp@...el.com>
To: Hemant Kumar <hemant@...ux.vnet.ibm.com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
maddy@...ux.vnet.ibm.com, mpe@...erman.id.au,
benh@...nel.crashing.org, paulus@...ba.org, anton@...ba.org,
sukadev@...ux.vnet.ibm.com, mikey@...ling.org,
stewart@...ux.vnet.ibm.com, eranian@...gle.com,
Hemant Kumar <hemant@...ux.vnet.ibm.com>
Subject: Re: [PATCH 6/6] powerpc/perf: IMA pmu cpumask and cpu hotplug support
Hi Hemant,
[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.9-rc3 next-20161028]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Hemant-Kumar/IMA-Instrumentation-support/20161103-152857
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-maple_defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
arch/powerpc/perf/ima-pmu.c: In function 'ppc_nest_ima_cpu_online':
>> arch/powerpc/perf/ima-pmu.c:86:12: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
l_cpumask = cpumask_of_node(nid);
^
arch/powerpc/perf/ima-pmu.c: In function 'ppc_nest_ima_cpu_offline':
arch/powerpc/perf/ima-pmu.c:126:12: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
l_cpumask = cpumask_of_node(nid);
^
cc1: all warnings being treated as errors
vim +/const +86 arch/powerpc/perf/ima-pmu.c
80 {
81 int nid, fcpu, ncpu;
82 struct cpumask *l_cpumask, tmp_mask;
83
84 /* Fint the cpumask of this node */
85 nid = cpu_to_node(cpu);
> 86 l_cpumask = cpumask_of_node(nid);
87
88 /*
89 * If any of the cpu from this node is already present in the mask,
---
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" (16817 bytes)
Powered by blists - more mailing lists