From: kbuild test robot <lkp@intel.com>
To: Liviu Dudau <Liviu.Dudau@arm.com>
Cc: kbuild-all@01.org, David Airlie <airlied@linux.ie>,
Daniel Vetter <daniel.vetter@ffwll.ch>,
Philipp Zabel <p.zabel@pengutronix.de>,
Mark Yao <mark.yao@rock-chips.com>,
Heiko Stuebner <heiko@sntech.de>,
Russell King <rmk+kernel@arm.linux.org.uk>,
dri-devel <dri-devel@lists.freedesktop.org>,
linux-rockchip <linux-rockchip@lists.infradead.org>,
LAKML <linux-arm-kernel@lists.infradead.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [RFC PATCH v3 4/4] drm/armada: Convert the probe function to the generic drm_of_component_probe()
Date: Tue, 20 Oct 2015 06:07:01 +0800 [thread overview]
Message-ID: <201510200618.NEUoP2ho%fengguang.wu@intel.com> (raw)
In-Reply-To: <1445267270-23126-5-git-send-email-Liviu.Dudau@arm.com>
[-- Attachment #1: Type: text/plain, Size: 2555 bytes --]
Hi Liviu,
[auto build test WARNING on drm/drm-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/Liviu-Dudau/drm-Introduce-generic-probe-function-for-component-based-masters/20151019-231229
config: arm-allmodconfig (attached as .config)
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=arm
All warnings (new ones prefixed by >>):
drivers/gpu/drm/armada/armada_drv.c: In function 'armada_drm_probe':
>> drivers/gpu/drm/armada/armada_drv.c:291:4: warning: passing argument 2 of 'component_match_add' from incompatible pointer type
component_match_add(&pdev->dev, match, compare_dev_name,
^
In file included from drivers/gpu/drm/armada/armada_drv.c:9:0:
include/linux/component.h:36:6: note: expected 'struct component_match **' but argument is of type 'struct component_match *'
void component_match_add(struct device *, struct component_match **,
^
>> drivers/gpu/drm/armada/armada_drv.c:304:6: warning: passing argument 2 of 'armada_add_endpoints' from incompatible pointer type
armada_add_endpoints(&pdev->dev, match,
^
drivers/gpu/drm/armada/armada_drv.c:247:13: note: expected 'struct component_match **' but argument is of type 'struct component_match *'
static void armada_add_endpoints(struct device *dev,
^
vim +/component_match_add +291 drivers/gpu/drm/armada/armada_drv.c
285 char **devices = pdev->dev.platform_data;
286 struct device_node *port;
287 struct device *d;
288 int i;
289
290 for (i = 0; devices[i]; i++)
> 291 component_match_add(&pdev->dev, match, compare_dev_name,
292 devices[i]);
293
294 if (i == 0) {
295 dev_err(&pdev->dev, "missing 'ports' property\n");
296 return -ENODEV;
297 }
298
299 for (i = 0; devices[i]; i++) {
300 d = bus_find_device_by_name(&platform_bus_type, NULL,
301 devices[i]);
302 if (d && d->of_node) {
303 for_each_child_of_node(d->of_node, port)
> 304 armada_add_endpoints(&pdev->dev, match,
305 port);
306 }
307 put_device(d);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 53739 bytes --]
prev parent reply other threads:[~2015-10-19 22:08 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-19 15:07 [RFC PATCH v3 0/4] drm: Cleanup probe function for component based masters Liviu Dudau
2015-10-19 15:07 ` [RFC PATCH v3 1/4] drm: Introduce generic " Liviu Dudau
2015-10-19 15:14 ` Russell King - ARM Linux
2015-10-20 9:45 ` Eric Anholt
2015-11-09 9:39 ` Mark yao
2015-11-09 10:53 ` Liviu Dudau
2015-11-09 11:20 ` Philipp Zabel
2015-11-09 11:43 ` Russell King - ARM Linux
2015-11-09 11:57 ` Liviu Dudau
2015-11-09 12:03 ` Russell King - ARM Linux
2015-11-09 12:07 ` Liviu Dudau
2015-11-09 19:49 ` Heiko Stuebner
[not found] ` <5641B075.6020602@rock-chips.com>
2015-11-10 10:09 ` Liviu Dudau
2015-11-09 11:15 ` Russell King - ARM Linux
2015-10-19 15:07 ` [RFC PATCH v3 2/4] drm/imx: Convert the probe function to the generic drm_of_component_probe() Liviu Dudau
2015-10-19 15:15 ` Russell King - ARM Linux
2015-10-19 15:07 ` [RFC PATCH v3 3/4] drm/rockchip: " Liviu Dudau
2015-10-19 15:07 ` [RFC PATCH v3 4/4] drm/armada: " Liviu Dudau
2015-10-19 15:17 ` Russell King - ARM Linux
2015-10-19 15:23 ` Liviu Dudau
2015-10-19 22:07 ` kbuild test robot [this message]
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=201510200618.NEUoP2ho%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=Liviu.Dudau@arm.com \
--cc=airlied@linux.ie \
--cc=daniel.vetter@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=heiko@sntech.de \
--cc=kbuild-all@01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mark.yao@rock-chips.com \
--cc=p.zabel@pengutronix.de \
--cc=rmk+kernel@arm.linux.org.uk \
/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
all inboxes | Powered by JetHome®