linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: kbuild-all@01.org, linux-arm-kernel@lists.infradead.org,
	will.deacon@arm.com, marc.zyngier@arm.com, mark.rutland@arm.com,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	robh@kernel.org, frowand.list@gmail.com,
	mathieu.poirier@linaro.org, peterz@infradead.org,
	Suzuki K Poulose <suzuki.poulose@arm.com>
Subject: Re: [PATCH v4 6/6] perf: ARM DynamIQ Shared Unit PMU support
Date: Tue, 8 Aug 2017 18:57:50 +0800	[thread overview]
Message-ID: <201708081851.zkRaPAIn%fengguang.wu@intel.com> (raw)
In-Reply-To: <1502099560-6267-7-git-send-email-suzuki.poulose@arm.com>

[-- Attachment #1: Type: text/plain, Size: 2028 bytes --]

Hi Suzuki,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.13-rc4 next-20170807]
[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/Suzuki-K-Poulose/perf-Support-for-ARM-DynamIQ-Shared-Unit-PMU/20170808-124822
config: arm64-allmodconfig (attached as .config)
compiler: aarch64-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=arm64 

All errors (new ones prefixed by >>):

   drivers//perf/arm_dsu_pmu.c: In function 'dsu_pmu_dt_get_cpus':
>> drivers//perf/arm_dsu_pmu.c:685:9: error: implicit declaration of function 'of_device_node_get_cpu' [-Werror=implicit-function-declaration]
      cpu = of_device_node_get_cpu(cpu_node);
            ^~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/of_device_node_get_cpu +685 drivers//perf/arm_dsu_pmu.c

   669	
   670	/**
   671	 * dsu_pmu_dt_get_cpus: Get the list of CPUs in the cluster.
   672	 */
   673	static int dsu_pmu_dt_get_cpus(struct device_node *dev, cpumask_t *mask)
   674	{
   675		int i = 0, n, cpu;
   676		struct device_node *cpu_node;
   677	
   678		n = of_count_phandle_with_args(dev, "cpus", NULL);
   679		if (n <= 0)
   680			return -ENODEV;
   681		for (; i < n; i++) {
   682			cpu_node = of_parse_phandle(dev, "cpus", i);
   683			if (!cpu_node)
   684				break;
 > 685			cpu = of_device_node_get_cpu(cpu_node);
   686			of_node_put(cpu_node);
   687			if (cpu >= nr_cpu_ids)
   688				break;
   689			cpumask_set_cpu(cpu, mask);
   690		}
   691		if (i != n)
   692			return -EINVAL;
   693		return 0;
   694	}
   695	

---
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: 56860 bytes --]

  reply	other threads:[~2017-08-08 10:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-07  9:52 [PATCH v4 0/6] perf: Support for ARM DynamIQ Shared Unit PMU Suzuki K Poulose
2017-08-07  9:52 ` [PATCH v4 1/6] perf: Export perf_event_update_userpage Suzuki K Poulose
2017-08-07  9:52 ` [PATCH v4 2/6] of: Add helper for mapping device node to logical CPU number Suzuki K Poulose
2017-08-07 23:33   ` Rob Herring
2017-08-07  9:52 ` [PATCH v4 3/6] coresight: of: Use of_cpu_node_to_id helper Suzuki K Poulose
2017-08-08  9:18   ` kbuild test robot
2017-08-08  9:41     ` Suzuki K Poulose
2017-08-07  9:52 ` [PATCH v4 4/6] irqchip: gic-v3: " Suzuki K Poulose
2017-08-07  9:52 ` [PATCH v4 5/6] dt-bindings: Document devicetree binding for ARM DSU PMU Suzuki K Poulose
2017-08-07  9:52 ` [PATCH v4 6/6] perf: ARM DynamIQ Shared Unit PMU support Suzuki K Poulose
2017-08-08 10:57   ` kbuild test robot [this message]
2017-08-08 10:58     ` Suzuki K Poulose

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=201708081851.zkRaPAIn%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc.zyngier@arm.com \
    --cc=mark.rutland@arm.com \
    --cc=mathieu.poirier@linaro.org \
    --cc=peterz@infradead.org \
    --cc=robh@kernel.org \
    --cc=suzuki.poulose@arm.com \
    --cc=will.deacon@arm.com \
    /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).