[drm-tip:drm-tip 390/412] drivers/gpu/drm/armada/armada_debugfs.c:25:2: error: implicit declaration of function 'drm_mm_dump_table'

kbuild test robot fengguang.wu at intel.com
Fri Dec 30 14:49:13 UTC 2016


tree:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
head:   97565ed7e129cd22bcd804d7b607fc5884072daa
commit: b5c3714fe8789745521d8351d75049b9c6a0d26b [390/412] drm/mm: Convert to drm_printer
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout b5c3714fe8789745521d8351d75049b9c6a0d26b
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/armada/armada_debugfs.c: In function 'armada_debugfs_gem_linear_show':
>> drivers/gpu/drm/armada/armada_debugfs.c:25:2: error: implicit declaration of function 'drm_mm_dump_table' [-Werror=implicit-function-declaration]
     drm_mm_dump_table(&p, &priv->linear);
     ^~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/drm_mm_dump_table +25 drivers/gpu/drm/armada/armada_debugfs.c

    19		struct drm_info_node *node = m->private;
    20		struct drm_device *dev = node->minor->dev;
    21		struct armada_private *priv = dev->dev_private;
    22		struct drm_printer p = drm_seq_file_printer(m);
    23	
    24		mutex_lock(&priv->linear_lock);
  > 25		drm_mm_dump_table(&p, &priv->linear);
    26		mutex_unlock(&priv->linear_lock);
    27	
    28		return 0;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 59444 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161230/6ab303cf/attachment-0001.gz>


More information about the dri-devel mailing list