lkml.org 
[lkml]   [2022]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[drm-misc:for-linux-next 9/10] drivers/gpu/drm/msm/dp/dp_parser.c:110:5: error: use of undeclared identifier 'data_lane_property'
tree:   git://anongit.freedesktop.org/drm/drm-misc for-linux-next
head: d643daaf1694b7565fbe3982b630e1c7b95f1600
commit: 185443efa26a62b7d1401c89b83c89a1a2601350 [9/10] drm/msm: Convert to drm_of_get_data_lanes_count
config: hexagon-randconfig-r045-20220612 (https://download.01.org/0day-ci/archive/20220612/202206122125.gkajULO7-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 6466c9abf3674bade1f6ee859f24ebc7aaf9cd88)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add drm-misc git://anongit.freedesktop.org/drm/drm-misc
git fetch --no-tags drm-misc for-linux-next
git checkout 185443efa26a62b7d1401c89b83c89a1a2601350
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/gpu/drm/msm/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/msm/dp/dp_parser.c:110:5: error: use of undeclared identifier 'data_lane_property'
data_lane_property, DP_MAX_NUM_DP_LANES);
^
1 error generated.
--
>> drivers/gpu/drm/msm/dsi/dsi_host.c:1676:14: error: call to undeclared function 'drm_of_get_data_lanes_count'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
num_lanes = drm_of_get_data_lanes_count(ep, 1, 4);
^
1 error generated.


vim +/data_lane_property +110 drivers/gpu/drm/msm/dp/dp_parser.c

c943b4948b5848 Chandan Uddaraju 2020-08-27 101
c943b4948b5848 Chandan Uddaraju 2020-08-27 102 static int dp_parser_misc(struct dp_parser *parser)
c943b4948b5848 Chandan Uddaraju 2020-08-27 103 {
c943b4948b5848 Chandan Uddaraju 2020-08-27 104 struct device_node *of_node = parser->pdev->dev.of_node;
185443efa26a62 Marek Vasut 2022-05-24 105 int len;
c943b4948b5848 Chandan Uddaraju 2020-08-27 106
185443efa26a62 Marek Vasut 2022-05-24 107 len = drm_of_get_data_lanes_count(of_node, 1, DP_MAX_NUM_DP_LANES);
c943b4948b5848 Chandan Uddaraju 2020-08-27 108 if (len < 0) {
c943b4948b5848 Chandan Uddaraju 2020-08-27 109 DRM_WARN("Invalid property %s, default max DP lanes = %d\n",
c943b4948b5848 Chandan Uddaraju 2020-08-27 @110 data_lane_property, DP_MAX_NUM_DP_LANES);
c943b4948b5848 Chandan Uddaraju 2020-08-27 111 len = DP_MAX_NUM_DP_LANES;
c943b4948b5848 Chandan Uddaraju 2020-08-27 112 }
c943b4948b5848 Chandan Uddaraju 2020-08-27 113
c943b4948b5848 Chandan Uddaraju 2020-08-27 114 parser->max_dp_lanes = len;
c943b4948b5848 Chandan Uddaraju 2020-08-27 115 return 0;
c943b4948b5848 Chandan Uddaraju 2020-08-27 116 }
c943b4948b5848 Chandan Uddaraju 2020-08-27 117

:::::: The code at line 110 was first introduced by commit
:::::: c943b4948b5848fc0e07f875edbd35a973879e22 drm/msm/dp: add displayPort driver support

:::::: TO: Chandan Uddaraju <chandanu@codeaurora.org>
:::::: CC: Rob Clark <robdclark@chromium.org>

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-06-12 15:40    [W:0.181 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site