tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-4.11-wip
head:   a03023d9d5ae93ab2684138f35d53502d61580d4
commit: 9d71b166e8f7a7277abd7b1588ffd2e30a3f88bc [128/131] drm/ttm: revert 
"implement LRU add callbacks v2"
config: x86_64-randconfig-i0-201704 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        git checkout 9d71b166e8f7a7277abd7b1588ffd2e30a3f88bc
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

>> drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c:246:2: error: unknown field 
>> 'lru_tail' specified in initializer
     .lru_tail  = &ttm_bo_default_lru_tail,
     ^
>> drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c:246:16: error: 
>> 'ttm_bo_default_lru_tail' undeclared here (not in a function)
     .lru_tail  = &ttm_bo_default_lru_tail,
                   ^
>> drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c:247:2: error: unknown field 
>> 'swap_lru_tail' specified in initializer
     .swap_lru_tail  = &ttm_bo_default_swap_lru_tail,
     ^
>> drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c:247:21: error: 
>> 'ttm_bo_default_swap_lru_tail' undeclared here (not in a function)
     .swap_lru_tail  = &ttm_bo_default_swap_lru_tail,
                        ^
>> drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c:247:2: warning: excess elements 
>> in struct initializer
     .swap_lru_tail  = &ttm_bo_default_swap_lru_tail,
     ^
   drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c:247:2: warning: (near 
initialization for 'hibmc_bo_driver')

vim +/lru_tail +246 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c

e4daebc77 Rongrong Zou 2016-11-16  240          .init_mem_type          = 
hibmc_bo_init_mem_type,
e4daebc77 Rongrong Zou 2016-11-16  241          .evict_flags            = 
hibmc_bo_evict_flags,
e4daebc77 Rongrong Zou 2016-11-16  242          .move                   = NULL,
e4daebc77 Rongrong Zou 2016-11-16  243          .verify_access          = 
hibmc_bo_verify_access,
e4daebc77 Rongrong Zou 2016-11-16  244          .io_mem_reserve         = 
&hibmc_ttm_io_mem_reserve,
e4daebc77 Rongrong Zou 2016-11-16  245          .io_mem_free            = NULL,
e4daebc77 Rongrong Zou 2016-11-16 @246          .lru_tail               = 
&ttm_bo_default_lru_tail,
e4daebc77 Rongrong Zou 2016-11-16 @247          .swap_lru_tail          = 
&ttm_bo_default_swap_lru_tail,
e4daebc77 Rongrong Zou 2016-11-16  248  };
e4daebc77 Rongrong Zou 2016-11-16  249  
e4daebc77 Rongrong Zou 2016-11-16  250  int hibmc_mm_init(struct 
hibmc_drm_private *hibmc)

:::::: The code at line 246 was first introduced by commit
:::::: e4daebc77e7b34fc7442ff78a3c3410376f1bcba drm/hisilicon/hibmc: Add video 
memory management

:::::: TO: Rongrong Zou <zourongr...@gmail.com>
:::::: CC: Rongrong Zou <zourongr...@gmail.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to