tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-dkms-4.13
head:   7bde112fab15c0a28c1d056959167cd4393bf538
commit: ec96f6ceed1d387de0b264c59d31120c15888546 [3366/3830] drm/ttm: use an 
operation ctx for ttm_tt_populate in ttm_bo_driver
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ec96f6ceed1d387de0b264c59d31120c15888546
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

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

   In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:36:0:
>> include/drm/ttm/ttm_page_alloc.h:125:1: error: expected identifier or '(' 
>> before '{' token
    {
    ^
>> include/drm/ttm/ttm_page_alloc.h:123:19: warning: 
>> 'ttm_populate_and_map_pages' used but never defined
    static inline int ttm_populate_and_map_pages(struct device *dev, struct 
ttm_dma_tt *tt,
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/gpu/drm/ast/ast_ttm.c:29:0:
>> include/drm/ttm/ttm_page_alloc.h:125:1: error: expected identifier or '(' 
>> before '{' token
    {
    ^
   include/drm/ttm/ttm_page_alloc.h:123:19: warning: 
'ttm_populate_and_map_pages' declared 'static' but never defined 
[-Wunused-function]
    static inline int ttm_populate_and_map_pages(struct device *dev, struct 
ttm_dma_tt *tt,
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~

vim +125 include/drm/ttm/ttm_page_alloc.h

3588b82c Tom St Denis 2017-08-18  122  
ec96f6ce Roger He     2017-12-21 @123  static inline int 
ttm_populate_and_map_pages(struct device *dev, struct ttm_dma_tt *tt,
ec96f6ce Roger He     2017-12-21  124                           struct 
ttm_operation_ctx *ctx);
3588b82c Tom St Denis 2017-08-18 @125  {
3588b82c Tom St Denis 2017-08-18  126   return -ENOMEM;
3588b82c Tom St Denis 2017-08-18  127  }
3588b82c Tom St Denis 2017-08-18  128  

:::::: The code at line 125 was first introduced by commit
:::::: 3588b82c043dd83f8c5885cd60bd6529635720d6 drm/ttm: Add helper functions 
to populate/map in one call (v2)

:::::: TO: Tom St Denis <tom.stde...@amd.com>
:::::: CC: Alex Deucher <alexander.deuc...@amd.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