Hi Noralf,

[auto build test WARNING on drm/drm-next]
[also build test WARNING on v4.14-rc6 next-20171018]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Noralf-Tr-nnes/drm-framebuffer-Add-framebuffer-debugfs-file/20171024-054910
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: i386-randconfig-x001-201743 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/drm_gem.c: In function 'drm_gem_print':
>> drivers/gpu/drm/drm_gem.c:1050:25: warning: passing argument 1 of 
>> 'drm_vma_node_start' discards 'const' qualifier from pointer target type 
>> [-Wdiscarded-qualifiers]
         drm_vma_node_start(&obj->vma_node), obj->size,
                            ^
   In file included from drivers/gpu/drm/drm_gem.c:41:0:
   include/drm/drm_vma_manager.h:155:29: note: expected 'struct 
drm_vma_offset_node *' but argument is of type 'const struct 
drm_vma_offset_node *'
    static inline unsigned long drm_vma_node_start(struct drm_vma_offset_node 
*node)
                                ^~~~~~~~~~~~~~~~~~

vim +1050 drivers/gpu/drm/drm_gem.c

  1044  
  1045  #ifdef CONFIG_DEBUG_FS
  1046  void drm_gem_print(const struct drm_gem_object *obj, struct drm_printer 
*p)
  1047  {
  1048          drm_printf(p, "name=%d refcount=%d start=%08lx size=%zu%s\n",
  1049                     obj->name, kref_read(&obj->refcount),
> 1050                     drm_vma_node_start(&obj->vma_node), obj->size,

---
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