[drm-exynos:exynos-drm-fixes 1/1] drivers/gpu/drm/exynos/exynos_drm_dsi.c:1586:3: error: implicit declaration of function 'drm_bridge_detach'; did you mean 'drm_bridge_attach'?

kbuild test robot lkp at intel.com
Tue Mar 19 06:27:27 UTC 2019


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git exynos-drm-fixes
head:   17e6186af38ced4da78f15b935f6a483df627c99
commit: 17e6186af38ced4da78f15b935f6a483df627c99 [1/1] drm/exynos: dsi: Use drm_bridge_detach
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 17e6186af38ced4da78f15b935f6a483df627c99
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/exynos/exynos_drm_dsi.c: In function 'exynos_dsi_host_detach':
>> drivers/gpu/drm/exynos/exynos_drm_dsi.c:1586:3: error: implicit declaration of function 'drm_bridge_detach'; did you mean 'drm_bridge_attach'? [-Werror=implicit-function-declaration]
      drm_bridge_detach(dsi->out_bridge);
      ^~~~~~~~~~~~~~~~~
      drm_bridge_attach
   cc1: some warnings being treated as errors

vim +1586 drivers/gpu/drm/exynos/exynos_drm_dsi.c

  1571	
  1572	static int exynos_dsi_host_detach(struct mipi_dsi_host *host,
  1573					  struct mipi_dsi_device *device)
  1574	{
  1575		struct exynos_dsi *dsi = host_to_dsi(host);
  1576		struct drm_device *drm = dsi->encoder.dev;
  1577	
  1578		if (dsi->panel) {
  1579			mutex_lock(&drm->mode_config.mutex);
  1580			exynos_dsi_disable(&dsi->encoder);
  1581			drm_panel_detach(dsi->panel);
  1582			dsi->panel = NULL;
  1583			dsi->connector.status = connector_status_disconnected;
  1584			mutex_unlock(&drm->mode_config.mutex);
  1585		} else {
> 1586			drm_bridge_detach(dsi->out_bridge);
  1587			dsi->out_bridge = NULL;
  1588		}
  1589	
  1590		if (drm->mode_config.poll_enabled)
  1591			drm_kms_helper_hotplug_event(drm);
  1592	
  1593		exynos_dsi_unregister_te_irq(dsi);
  1594	
  1595		return 0;
  1596	}
  1597	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 42536 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190319/72df776f/attachment-0001.gz>


More information about the dri-devel mailing list