[Intel-gfx] [drm-intel:for-linux-next 12/12] drivers/gpu/drm/drm_dp_helper.c:551:2: error: implicit declaration of function 'seq_printf'

kbuild test robot fengguang.wu at intel.com
Thu Sep 15 13:47:47 UTC 2016


tree:   git://anongit.freedesktop.org/drm-intel for-linux-next
head:   80209e5f2c42c491ec5f4a63705b4377b407587c
commit: 80209e5f2c42c491ec5f4a63705b4377b407587c [12/12] drm: Add DP branch device info on debugfs
config: ia64-defconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 4.9.0
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 80209e5f2c42c491ec5f4a63705b4377b407587c
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/drm_dp_helper.c: In function 'drm_dp_downstream_debug':
>> drivers/gpu/drm/drm_dp_helper.c:551:2: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration]
     seq_printf(m, "\tDP branch device present: %s\n",
     ^
>> drivers/gpu/drm/drm_dp_helper.c:559:3: error: implicit declaration of function 'seq_puts' [-Werror=implicit-function-declaration]
      seq_puts(m, "\t\tType: DisplayPort\n");
      ^
   cc1: some warnings being treated as errors

vim +/seq_printf +551 drivers/gpu/drm/drm_dp_helper.c

   545		int len;
   546		uint8_t rev[2];
   547		int type = port_cap[0] & DP_DS_PORT_TYPE_MASK;
   548		bool branch_device = dpcd[DP_DOWNSTREAMPORT_PRESENT] &
   549				     DP_DWN_STRM_PORT_PRESENT;
   550	
 > 551		seq_printf(m, "\tDP branch device present: %s\n",
   552			   branch_device ? "yes" : "no");
   553	
   554		if (!branch_device)
   555			return;
   556	
   557		switch (type) {
   558		case DP_DS_PORT_TYPE_DP:
 > 559			seq_puts(m, "\t\tType: DisplayPort\n");
   560			break;
   561		case DP_DS_PORT_TYPE_VGA:
   562			seq_puts(m, "\t\tType: VGA\n");

---
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/octet-stream
Size: 17838 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160915/66f05fc9/attachment-0001.obj>


More information about the Intel-gfx mailing list