[Intel-gfx] [drm-intel:drm-intel-gt-next 7/8] drivers/gpu/drm/i915/intel_region_ttm.c:181:6: error: no previous prototype for 'intel_region_ttm_node_free'

kernel test robot lkp at intel.com
Wed Jun 23 10:04:01 UTC 2021


tree:   git://anongit.freedesktop.org/drm-intel drm-intel-gt-next
head:   13c2ceb6addb6b14468e09b75832c98909eed8e7
commit: d53ec322dc7de32a59bf1c2a56b93e90fc2f1c28 [7/8] drm/i915/ttm: switch over to ttm_buddy_man
config: i386-defconfig (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-intel git://anongit.freedesktop.org/drm-intel
        git fetch --no-tags drm-intel drm-intel-gt-next
        git checkout d53ec322dc7de32a59bf1c2a56b93e90fc2f1c28
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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

Note: the drm-intel/drm-intel-gt-next HEAD ca319ee9ca6a6ef95143df8d0a57b2941c2a9566 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/intel_region_ttm.c:181:6: error: no previous prototype for 'intel_region_ttm_node_free' [-Werror=missing-prototypes]
     181 | void intel_region_ttm_node_free(struct intel_memory_region *mem,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/intel_region_ttm_node_free +181 drivers/gpu/drm/i915/intel_region_ttm.c

   180	
 > 181	void intel_region_ttm_node_free(struct intel_memory_region *mem,
   182					struct ttm_resource *res)
   183	{
   184		struct ttm_resource_manager *man = mem->region_private;
   185	
   186		man->func->free(man, res);
   187	}
   188	

---
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: 29242 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20210623/605912e6/attachment-0001.gz>


More information about the Intel-gfx mailing list