lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202206122125.gkajULO7-lkp@intel.com>
Date:   Sun, 12 Jun 2022 21:40:03 +0800
From:   kernel test robot <lkp@...el.com>
To:     Marek Vasut <marex@...x.de>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org,
        Andrzej Hajda <andrzej.hajda@...el.com>,
        Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
        Abhinav Kumar <quic_abhinavk@...cinc.com>
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@...el.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@...eaurora.org>
:::::: CC: Rob Clark <robdclark@...omium.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ