dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [radeon-alex:amd-staging-drm-next 417/475] drivers/staging/vboxvideo/vbox_ttm.c:240:10: error: initialization from incompatible pointer type
@ 2017-11-28  3:13 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-11-28  3:13 UTC (permalink / raw)
  To: Christian König; +Cc: Michel Dänzer, kbuild-all, dri-devel

[-- Attachment #1: Type: text/plain, Size: 4084 bytes --]

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head:   f3769c94f4e6a794dbb72601936199d9b258f7b7
commit: 67e032a0a9a8e26db6960aae59e7a319ac900f95 [417/475] drm/ttm: add context to driver move callback as well
config: i386-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        git checkout 67e032a0a9a8e26db6960aae59e7a319ac900f95
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

>> drivers/staging/vboxvideo/vbox_ttm.c:240:10: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .move = vbox_bo_move,
             ^~~~~~~~~~~~
   drivers/staging/vboxvideo/vbox_ttm.c:240:10: note: (near initialization for 'vbox_bo_driver.move')
   drivers/staging/vboxvideo/vbox_ttm.c: In function 'vbox_bo_pin':
   drivers/staging/vboxvideo/vbox_ttm.c:392:8: error: too many arguments to function 'ttm_bo_validate'
     ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
           ^~~~~~~~~~~~~~~
   In file included from drivers/staging/vboxvideo/vbox_drv.h:43:0,
                    from drivers/staging/vboxvideo/vbox_ttm.c:30:
   include/drm/ttm/ttm_bo_api.h:333:5: note: declared here
    int ttm_bo_validate(struct ttm_buffer_object *bo,
        ^~~~~~~~~~~~~~~
   drivers/staging/vboxvideo/vbox_ttm.c: In function 'vbox_bo_unpin':
   drivers/staging/vboxvideo/vbox_ttm.c:419:8: error: too many arguments to function 'ttm_bo_validate'
     ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
           ^~~~~~~~~~~~~~~
   In file included from drivers/staging/vboxvideo/vbox_drv.h:43:0,
                    from drivers/staging/vboxvideo/vbox_ttm.c:30:
   include/drm/ttm/ttm_bo_api.h:333:5: note: declared here
    int ttm_bo_validate(struct ttm_buffer_object *bo,
        ^~~~~~~~~~~~~~~
   drivers/staging/vboxvideo/vbox_ttm.c: In function 'vbox_bo_push_sysram':
   drivers/staging/vboxvideo/vbox_ttm.c:451:8: error: too many arguments to function 'ttm_bo_validate'
     ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
           ^~~~~~~~~~~~~~~
   In file included from drivers/staging/vboxvideo/vbox_drv.h:43:0,
                    from drivers/staging/vboxvideo/vbox_ttm.c:30:
   include/drm/ttm/ttm_bo_api.h:333:5: note: declared here
    int ttm_bo_validate(struct ttm_buffer_object *bo,
        ^~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +240 drivers/staging/vboxvideo/vbox_ttm.c

dd55d44f4 Hans de Goede  2017-07-06  232  
cb67fa13c Colin Ian King 2017-07-19  233  static struct ttm_bo_driver vbox_bo_driver = {
dd55d44f4 Hans de Goede  2017-07-06  234  	.ttm_tt_create = vbox_ttm_tt_create,
dd55d44f4 Hans de Goede  2017-07-06  235  	.ttm_tt_populate = vbox_ttm_tt_populate,
dd55d44f4 Hans de Goede  2017-07-06  236  	.ttm_tt_unpopulate = vbox_ttm_tt_unpopulate,
dd55d44f4 Hans de Goede  2017-07-06  237  	.init_mem_type = vbox_bo_init_mem_type,
dd55d44f4 Hans de Goede  2017-07-06  238  	.eviction_valuable = ttm_bo_eviction_valuable,
dd55d44f4 Hans de Goede  2017-07-06  239  	.evict_flags = vbox_bo_evict_flags,
dd55d44f4 Hans de Goede  2017-07-06 @240  	.move = vbox_bo_move,
dd55d44f4 Hans de Goede  2017-07-06  241  	.verify_access = vbox_bo_verify_access,
dd55d44f4 Hans de Goede  2017-07-06  242  	.io_mem_reserve = &vbox_ttm_io_mem_reserve,
dd55d44f4 Hans de Goede  2017-07-06  243  	.io_mem_free = &vbox_ttm_io_mem_free,
dd55d44f4 Hans de Goede  2017-07-06  244  	.io_mem_pfn = ttm_bo_default_io_mem_pfn,
dd55d44f4 Hans de Goede  2017-07-06  245  };
dd55d44f4 Hans de Goede  2017-07-06  246  

:::::: The code at line 240 was first introduced by commit
:::::: dd55d44f408419278c00887bfcb2261d0caae350 staging: vboxvideo: Add vboxvideo to drivers/staging

:::::: TO: Hans de Goede <hdegoede@redhat.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 61960 bytes --]

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-28  3:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-28  3:13 [radeon-alex:amd-staging-drm-next 417/475] drivers/staging/vboxvideo/vbox_ttm.c:240:10: error: initialization from incompatible pointer type kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).