tree: git://anongit.freedesktop.org/drm/drm-intel drm-intel-gt-next head: 13c2ceb6addb6b14468e09b75832c98909eed8e7 commit: 687c7d0fcf8014a006416d7dc7474a101a85bf00 [6/8] drm/i915/ttm: remove node usage in our naming config: x86_64-rhel-8.3-kselftests (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): git remote add drm-drm-intel git://anongit.freedesktop.org/drm/drm-intel git fetch --no-tags drm-drm-intel drm-intel-gt-next git checkout 687c7d0fcf8014a006416d7dc7474a101a85bf00 # save the attached .config to linux build tree make W=1 ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/i915/intel_region_ttm.c:202: warning: expecting prototype for intel_region_ttm_node_alloc(). Prototype was for intel_region_ttm_resource_alloc() instead vim +202 drivers/gpu/drm/i915/intel_region_ttm.c d148738923fdb5 Thomas Hellström 2021-06-02 181 213d5092776345 Thomas Hellström 2021-06-10 182 #ifdef CONFIG_DRM_I915_SELFTEST d148738923fdb5 Thomas Hellström 2021-06-02 183 /** d148738923fdb5 Thomas Hellström 2021-06-02 184 * intel_region_ttm_node_alloc - Allocate memory resources from a region d148738923fdb5 Thomas Hellström 2021-06-02 185 * @mem: The memory region, d148738923fdb5 Thomas Hellström 2021-06-02 186 * @size: The requested size in bytes d148738923fdb5 Thomas Hellström 2021-06-02 187 * @flags: Allocation flags d148738923fdb5 Thomas Hellström 2021-06-02 188 * d148738923fdb5 Thomas Hellström 2021-06-02 189 * This functionality is provided only for callers that need to allocate d148738923fdb5 Thomas Hellström 2021-06-02 190 * memory from standalone TTM range managers, without the TTM eviction d148738923fdb5 Thomas Hellström 2021-06-02 191 * functionality. Don't use if you are not completely sure that's the d148738923fdb5 Thomas Hellström 2021-06-02 192 * case. The returned opaque node can be converted to an sg_table using d148738923fdb5 Thomas Hellström 2021-06-02 193 * intel_region_ttm_node_to_st(), and can be freed using d148738923fdb5 Thomas Hellström 2021-06-02 194 * intel_region_ttm_node_free(). d148738923fdb5 Thomas Hellström 2021-06-02 195 * d148738923fdb5 Thomas Hellström 2021-06-02 196 * Return: A valid pointer on success, an error pointer on failure. d148738923fdb5 Thomas Hellström 2021-06-02 197 */ 2a7005c8a3982b Dave Airlie 2021-06-11 198 struct ttm_resource * 687c7d0fcf8014 Matthew Auld 2021-06-16 199 intel_region_ttm_resource_alloc(struct intel_memory_region *mem, d148738923fdb5 Thomas Hellström 2021-06-02 200 resource_size_t size, d148738923fdb5 Thomas Hellström 2021-06-02 201 unsigned int flags) d148738923fdb5 Thomas Hellström 2021-06-02 @202 { :::::: The code at line 202 was first introduced by commit :::::: d148738923fdb5077089e48ec15555e6008100d0 drm/i915/ttm Initialize the ttm device and memory managers :::::: TO: Thomas Hellström :::::: CC: Matthew Auld --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org