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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: .config.gz
Description: Binary data

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

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux