mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [drm-msm:msm-next-staging 7/32] drivers/gpu/drm/msm/msm_drv.c:236:17: error: implicit declaration of function 'drm_bridge_remove'; did you mean 'drm_bridge_detach'?
@ 2022-04-30 10:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-30 10:36 UTC (permalink / raw)
  To: Dmitry Baryshkov; +Cc: kbuild-all, linux-kernel, Stephen Boyd, Abhinav Kumar

tree:   https://gitlab.freedesktop.org/drm/msm.git msm-next-staging
head:   d2dc68276133362f021bc8d429433b5818826c81
commit: d28ea556267c4f2ec7264ab49f1b1296834321ec [7/32] drm/msm: properly add and remove internal bridges
config: parisc-randconfig-r023-20220428 (https://download.01.org/0day-ci/archive/20220430/202204301804.hJxOQfse-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 11.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
        git remote add drm-msm https://gitlab.freedesktop.org/drm/msm.git
        git fetch --no-tags drm-msm msm-next-staging
        git checkout d28ea556267c4f2ec7264ab49f1b1296834321ec
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash drivers/gpu/drm/msm/

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/msm/msm_drv.c: In function 'msm_drm_uninit':
>> drivers/gpu/drm/msm/msm_drv.c:236:17: error: implicit declaration of function 'drm_bridge_remove'; did you mean 'drm_bridge_detach'? [-Werror=implicit-function-declaration]
     236 |                 drm_bridge_remove(priv->bridges[i]);
         |                 ^~~~~~~~~~~~~~~~~
         |                 drm_bridge_detach
   cc1: some warnings being treated as errors


vim +236 drivers/gpu/drm/msm/msm_drv.c

   230	
   231		msm_disp_snapshot_destroy(ddev);
   232	
   233		drm_mode_config_cleanup(ddev);
   234	
   235		for (i = 0; i < priv->num_bridges; i++)
 > 236			drm_bridge_remove(priv->bridges[i]);
   237	
   238		pm_runtime_get_sync(dev);
   239		msm_irq_uninstall(ddev);
   240		pm_runtime_put_sync(dev);
   241	
   242		if (kms && kms->funcs)
   243			kms->funcs->destroy(kms);
   244	
   245		if (priv->vram.paddr) {
   246			unsigned long attrs = DMA_ATTR_NO_KERNEL_MAPPING;
   247			drm_mm_takedown(&priv->vram.mm);
   248			dma_free_attrs(dev, priv->vram.size, NULL,
   249				       priv->vram.paddr, attrs);
   250		}
   251	
   252		component_unbind_all(dev, ddev);
   253	
   254		ddev->dev_private = NULL;
   255		drm_dev_put(ddev);
   256	
   257		destroy_workqueue(priv->wq);
   258	
   259		return 0;
   260	}
   261	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-30 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-30 10:36 [drm-msm:msm-next-staging 7/32] drivers/gpu/drm/msm/msm_drv.c:236:17: error: implicit declaration of function 'drm_bridge_remove'; did you mean 'drm_bridge_detach'? kernel test robot

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®