From: kernel test robot <lkp@intel.com>
To: "José Expósito" <jose.exposito89@gmail.com>, tomba@kernel.org
Cc: kbuild-all@lists.01.org, airlied@linux.ie,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
maxime@cerno.tech, "José Expósito" <jose.exposito89@gmail.com>
Subject: Re: [PATCH] drm/omap: switch to drm_of_find_panel_or_bridge
Date: Tue, 22 Feb 2022 04:16:45 +0800 [thread overview]
Message-ID: <202202220451.VbtgFzSa-lkp@intel.com> (raw)
In-Reply-To: <20220220195212.1129437-1-jose.exposito89@gmail.com>
Hi "José,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm/drm-next]
[also build test ERROR on v5.17-rc5 next-20220217]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Jos-Exp-sito/drm-omap-switch-to-drm_of_find_panel_or_bridge/20220221-035403
base: git://anongit.freedesktop.org/drm/drm drm-next
config: arm-allmodconfig (https://download.01.org/0day-ci/archive/20220222/202202220451.VbtgFzSa-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/9a465e2c1dba123efe08cf2f4a5ae11b07be4142
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jos-Exp-sito/drm-omap-switch-to-drm_of_find_panel_or_bridge/20220221-035403
git checkout 9a465e2c1dba123efe08cf2f4a5ae11b07be4142
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/omapdrm/dss/output.c: In function 'omapdss_device_init_output':
>> drivers/gpu/drm/omapdrm/dss/output.c:25:15: error: implicit declaration of function 'drm_of_find_panel_or_bridge' [-Werror=implicit-function-declaration]
25 | ret = drm_of_find_panel_or_bridge(out->dev->of_node, out->of_port, 0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/drm_of_find_panel_or_bridge +25 drivers/gpu/drm/omapdrm/dss/output.c
19
20 int omapdss_device_init_output(struct omap_dss_device *out,
21 struct drm_bridge *local_bridge)
22 {
23 int ret;
24
> 25 ret = drm_of_find_panel_or_bridge(out->dev->of_node, out->of_port, 0,
26 &out->panel, &out->bridge);
27 if (ret) {
28 if (ret == -ENODEV) {
29 dev_dbg(out->dev, "failed to find video sink\n");
30 return 0;
31 }
32 goto error;
33 }
34
35 if (out->panel) {
36 struct drm_bridge *bridge;
37
38 bridge = drm_panel_bridge_add(out->panel);
39 if (IS_ERR(bridge)) {
40 dev_err(out->dev,
41 "unable to create panel bridge (%ld)\n",
42 PTR_ERR(bridge));
43 ret = PTR_ERR(bridge);
44 goto error;
45 }
46
47 out->bridge = bridge;
48 }
49
50 if (local_bridge) {
51 if (!out->bridge) {
52 ret = -EPROBE_DEFER;
53 goto error;
54 }
55
56 out->next_bridge = out->bridge;
57 out->bridge = local_bridge;
58 }
59
60 if (!out->bridge) {
61 ret = -EPROBE_DEFER;
62 goto error;
63 }
64
65 return 0;
66
67 error:
68 omapdss_device_cleanup_output(out);
69 return ret;
70 }
71
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
prev parent reply other threads:[~2022-02-21 20:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-20 19:52 [PATCH] drm/omap: switch to drm_of_find_panel_or_bridge José Expósito
2022-02-20 21:36 ` Sam Ravnborg
2022-03-03 18:11 ` José Expósito
2022-02-21 2:01 ` kernel test robot
2022-02-21 20:16 ` kernel 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=202202220451.VbtgFzSa-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.freedesktop.org \
--cc=jose.exposito89@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maxime@cerno.tech \
--cc=tomba@kernel.org \
/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