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
.config.gz
Description: application/gzip