From: kernel test robot <lkp@intel.com>
To: Tian Tao <tiantao6@hisilicon.com>,
jsarha@ti.com, tomi.valkeinen@ti.com, airlied@linux.ie,
daniel@ffwll.ch
Cc: kbuild-all@lists.01.org, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm/tidss: Use the new api devm_drm_irq_install
Date: Tue, 8 Dec 2020 19:21:35 +0800 [thread overview]
Message-ID: <202012081910.8LM64avY-lkp@intel.com> (raw)
In-Reply-To: <1607413859-63365-1-git-send-email-tiantao6@hisilicon.com>
[-- Attachment #1: Type: text/plain, Size: 3287 bytes --]
Hi Tian,
I love your patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next drm-tip/drm-tip linus/master v5.10-rc7 next-20201207]
[cannot apply to drm/drm-next]
[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/Tian-Tao/drm-tidss-Use-the-new-api-devm_drm_irq_install/20201208-155323
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: h8300-randconfig-r016-20201208 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.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/c31dcdd7b0bbfc11fa4ff1f81164483b478025c4
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Tian-Tao/drm-tidss-Use-the-new-api-devm_drm_irq_install/20201208-155323
git checkout c31dcdd7b0bbfc11fa4ff1f81164483b478025c4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=h8300
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/tidss/tidss_drv.c: In function 'tidss_probe':
>> drivers/gpu/drm/tidss/tidss_drv.c:176:8: error: implicit declaration of function 'devm_irq_install'; did you mean 'drm_irq_install'? [-Werror=implicit-function-declaration]
176 | ret = devm_irq_install(ddev, irq);
| ^~~~~~~~~~~~~~~~
| drm_irq_install
cc1: some warnings being treated as errors
vim +176 drivers/gpu/drm/tidss/tidss_drv.c
162
163 ret = tidss_modeset_init(tidss);
164 if (ret < 0) {
165 if (ret != -EPROBE_DEFER)
166 dev_err(dev, "failed to init DRM/KMS (%d)\n", ret);
167 goto err_runtime_suspend;
168 }
169
170 irq = platform_get_irq(pdev, 0);
171 if (irq < 0) {
172 ret = irq;
173 goto err_runtime_suspend;
174 }
175
> 176 ret = devm_irq_install(ddev, irq);
177 if (ret) {
178 dev_err(dev, "drm_irq_install failed: %d\n", ret);
179 goto err_runtime_suspend;
180 }
181
182 drm_kms_helper_poll_init(ddev);
183
184 drm_mode_config_reset(ddev);
185
186 ret = drm_dev_register(ddev, 0);
187 if (ret) {
188 dev_err(dev, "failed to register DRM device\n");
189 goto err_irq_uninstall;
190 }
191
192 drm_fbdev_generic_setup(ddev, 32);
193
194 dev_dbg(dev, "%s done\n", __func__);
195
196 return 0;
197
198 err_irq_uninstall:
199 drm_irq_uninstall(ddev);
200
201 err_runtime_suspend:
202 #ifndef CONFIG_PM
203 dispc_runtime_suspend(tidss->dispc);
204 #endif
205 pm_runtime_disable(dev);
206
207 return ret;
208 }
209
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28925 bytes --]
next prev parent reply other threads:[~2020-12-08 11:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-08 7:50 Tian Tao
2020-12-08 11:21 ` kernel test robot [this message]
2020-12-09 0:48 ` Daniel Vetter
2020-12-09 11:29 ` Tomi Valkeinen
2020-12-09 11:56 ` Daniel Vetter
2020-12-09 12:06 ` Tomi Valkeinen
2020-12-09 12:08 ` Daniel Vetter
2020-12-09 12:41 ` Tomi Valkeinen
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=202012081910.8LM64avY-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=jsarha@ti.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tiantao6@hisilicon.com \
--cc=tomi.valkeinen@ti.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
Powered by JetHome