tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: 8af8a109b34fa88b8b91f25d11485b37d37549c3 commit: 8af8a109b34fa88b8b91f25d11485b37d37549c3 [1/1] drm/ttm: device naming cleanup config: x86_64-randconfig-s022-20210121 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-208-g46a52ca4-dirty git remote add drm-drm-misc git://anongit.freedesktop.org/drm/drm-misc git fetch --no-tags drm-drm-misc drm-misc-next git checkout 8af8a109b34fa88b8b91f25d11485b37d37549c3 # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot "sparse warnings: (new ones prefixed by >>)" >> drivers/gpu/drm/ttm/ttm_device.c:39:1: sparse: sparse: symbol 'ttm_global_mutex' was not declared. Should it be static? >> drivers/gpu/drm/ttm/ttm_device.c:40:10: sparse: sparse: symbol 'ttm_glob_use_count' was not declared. Should it be static? Please review and possibly fold the followup patch. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org