Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1514441

Re: [PATCH 6/6] powerpc/perf: IMA pmu cpumask and cpu hotplug support

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 6/6] powerpc/perf: IMA pmu cpumask and cpu hotplug support
Date 2016-11-03 11:30 +0100
Message-ID <sznrs-2Dk-35@gated-at.bofh.it> (permalink)
References <szkDg-O3-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] IMA Instrumentation support Hemant Kumar <hemant@linux.vnet.ibm.com> - 2016-11-03 08:30 +0100
  [PATCH 3/6] powerpc/powernv: Detect supported IMA units and its events Hemant Kumar <hemant@linux.vnet.ibm.com> - 2016-11-03 08:30 +0100
  [PATCH 6/6] powerpc/perf: IMA pmu cpumask and cpu hotplug support Hemant Kumar <hemant@linux.vnet.ibm.com> - 2016-11-03 08:30 +0100
    Re: [PATCH 6/6] powerpc/perf: IMA pmu cpumask and cpu hotplug support kbuild test robot <lkp@intel.com> - 2016-11-03 11:30 +0100
  [PATCH 4/6] powerpc/perf: Add event attribute and group to IMA pmus Hemant Kumar <hemant@linux.vnet.ibm.com> - 2016-11-03 08:30 +0100

csiph-web