[PATCH 4/6] drm/ttm: rename ttm_bo_put to _fini

kernel test robot lkp at intel.com
Tue Jun 17 02:08:17 UTC 2025


Hi Christian,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on next-20250616]
[cannot apply to drm-xe/drm-xe-next drm-exynos/exynos-drm-next linus/master drm/drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip v6.16-rc2]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Christian-K-nig/drm-xe-stop-asserting-on-the-TTM-refcount/20250616-210818
base:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link:    https://lore.kernel.org/r/20250616130726.22863-4-christian.koenig%40amd.com
patch subject: [PATCH 4/6] drm/ttm: rename ttm_bo_put to _fini
config: riscv-randconfig-002-20250617 (https://download.01.org/0day-ci/archive/20250617/202506170945.w3e0EBJ6-lkp@intel.com/config)
compiler: riscv32-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250617/202506170945.w3e0EBJ6-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506170945.w3e0EBJ6-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/nouveau/nouveau_dma.h:30,
                    from drivers/gpu/drm/nouveau/nouveau_chan.c:31:
   drivers/gpu/drm/nouveau/nouveau_bo.h: In function 'nouveau_bo_fini':
>> drivers/gpu/drm/nouveau/nouveau_bo.h:60:2: error: implicit declaration of function 'ttm_bo_put'; did you mean 'ttm_bo_pin'? [-Werror=implicit-function-declaration]
      60 |  ttm_bo_put(&bo->bo);
         |  ^~~~~~~~~~
         |  ttm_bo_pin
   cc1: some warnings being treated as errors


vim +60 drivers/gpu/drm/nouveau/nouveau_bo.h

8be21a6402baa5 Ben Skeggs       2012-07-18  56  
bf32a3a1268638 Danilo Krummrich 2024-07-18  57  static inline void
bf32a3a1268638 Danilo Krummrich 2024-07-18  58  nouveau_bo_fini(struct nouveau_bo *bo)
8be21a6402baa5 Ben Skeggs       2012-07-18  59  {
bf32a3a1268638 Danilo Krummrich 2024-07-18 @60  	ttm_bo_put(&bo->bo);
8be21a6402baa5 Ben Skeggs       2012-07-18  61  }
8be21a6402baa5 Ben Skeggs       2012-07-18  62  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


More information about the Intel-xe mailing list