[PATCH v6 2/8] drm/ttm/tests: Add tests for ttm_tt

kernel test robot lkp at intel.com
Fri Nov 10 13:32:32 UTC 2023


Hi Karolina,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-misc/drm-misc-next]
[also build test WARNING on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.6 next-20231110]
[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/Karolina-Stolarek/drm-ttm-tests-Add-tests-for-ttm_resource-and-ttm_sys_man/20231108-225515
base:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link:    https://lore.kernel.org/r/cdc3571116060fed572b6e82623a9c9455c9b716.1699445194.git.karolina.stolarek%40intel.com
patch subject: [PATCH v6 2/8] drm/ttm/tests: Add tests for ttm_tt
config: x86_64-randconfig-122-20231110 (https://download.01.org/0day-ci/archive/20231110/202311102150.uqD1nk5m-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231110/202311102150.uqD1nk5m-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/202311102150.uqD1nk5m-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/ttm/tests/ttm_tt_test.c:232:25: sparse: sparse: symbol 'ttm_dev_empty_funcs' was not declared. Should it be static?

vim +/ttm_dev_empty_funcs +232 drivers/gpu/drm/ttm/tests/ttm_tt_test.c

   231	
 > 232	struct ttm_device_funcs ttm_dev_empty_funcs = {
   233		.ttm_tt_create = ttm_tt_null_create,
   234	};
   235	

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


More information about the dri-devel mailing list