[PATCH] drm/mm: Use debugobject to track lifetimes

kbuild test robot lkp at intel.com
Thu Mar 12 21:23:28 UTC 2020


Hi Chris,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-tip/drm-tip]
[cannot apply to drm-intel/for-linux-next drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next linus/master v5.6-rc5 next-20200312]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Chris-Wilson/drm-mm-Use-debugobject-to-track-lifetimes/20200313-035020
base:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
config: openrisc-randconfig-a001-20200312 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=openrisc 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/drm_mm.c:684:6: error: redefinition of '__drm_mm_node_init'
     684 | void __drm_mm_node_init(struct drm_mm_node *node)
         |      ^~~~~~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/drm_mm.c:52:
   include/drm/drm_mm.h:282:20: note: previous definition of '__drm_mm_node_init' was here
     282 | static inline void __drm_mm_node_init(struct drm_mm_node *node) { }
         |                    ^~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/drm_mm.c:690:6: error: redefinition of '__drm_mm_node_fini'
     690 | void __drm_mm_node_fini(struct drm_mm_node *node)
         |      ^~~~~~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/drm_mm.c:52:
   include/drm/drm_mm.h:283:20: note: previous definition of '__drm_mm_node_fini' was here
     283 | static inline void __drm_mm_node_fini(struct drm_mm_node *node) { }
         |                    ^~~~~~~~~~~~~~~~~~

vim +/__drm_mm_node_init +684 drivers/gpu/drm/drm_mm.c

   683	
 > 684	void __drm_mm_node_init(struct drm_mm_node *node)
   685	{
   686		debug_node_init(node);
   687	}
   688	EXPORT_SYMBOL(__drm_mm_node_init);
   689	
 > 690	void __drm_mm_node_fini(struct drm_mm_node *node)
   691	{
   692		debug_node_free(node);
   693	}
   694	EXPORT_SYMBOL(__drm_mm_node_fini);
   695	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 26690 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200313/660317de/attachment-0001.gz>


More information about the dri-devel mailing list