lkml.org 
[lkml]   [2022]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[steev:sc8280xp-6.0.0-rc3 124/167] drivers/phy/qualcomm/phy-qcom-qmp-combo.c:867:27: error: conflicting types for 'qmp_phy_vreg_l'; have 'const char * const[]'
tree:   https://github.com/steev/linux sc8280xp-6.0.0-rc3
head: 219615b30a2e783a7af7d39e20f9e0ce56ac082e
commit: 6dbf5b92242217b22325c932d2b34689147e7398 [124/167] phy: qcom-qmp-combo: Parameterize swing and pre_emphasis tables
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20220829/202208291702.B1RMW8LP-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 12.1.0
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
# https://github.com/steev/linux/commit/6dbf5b92242217b22325c932d2b34689147e7398
git remote add steev https://github.com/steev/linux
git fetch --no-tags steev sc8280xp-6.0.0-rc3
git checkout 6dbf5b92242217b22325c932d2b34689147e7398
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash

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

Note: the steev/sc8280xp-6.0.0-rc3 HEAD 219615b30a2e783a7af7d39e20f9e0ce56ac082e builds fine.
It only hurts bisectability.

All errors (new ones prefixed by >>):

>> drivers/phy/qualcomm/phy-qcom-qmp-combo.c:867:27: error: conflicting types for 'qmp_phy_vreg_l'; have 'const char * const[]'
867 | static const char * const qmp_phy_vreg_l[] = {
| ^~~~~~~~~~~~~~
drivers/phy/qualcomm/phy-qcom-qmp-combo.c:616:34: note: previous definition of 'qmp_phy_vreg_l' with type 'struct qmp_regulator_data[2]'
616 | static struct qmp_regulator_data qmp_phy_vreg_l[] = {
| ^~~~~~~~~~~~~~
drivers/phy/qualcomm/phy-qcom-qmp-combo.c:616:34: warning: 'qmp_phy_vreg_l' defined but not used [-Wunused-variable]


vim +867 drivers/phy/qualcomm/phy-qcom-qmp-combo.c

94a407cc17a445 Dmitry Baryshkov 2022-06-08 865
ac462f2fb30368 Johan Hovold 2022-07-20 866 /* list of regulators */
ac462f2fb30368 Johan Hovold 2022-07-20 @867 static const char * const qmp_phy_vreg_l[] = {
ac462f2fb30368 Johan Hovold 2022-07-20 868 "vdda-phy", "vdda-pll",
ac462f2fb30368 Johan Hovold 2022-07-20 869 };
ac462f2fb30368 Johan Hovold 2022-07-20 870

:::::: The code at line 867 was first introduced by commit
:::::: ac462f2fb30368fdeb826d0b229bee046c5b7bfb phy: qcom-qmp-combo: drop regulator loads

:::::: TO: Johan Hovold <johan+linaro@kernel.org>
:::::: CC: Steev Klimaszewski <steev@kali.org>

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

\
 
 \ /
  Last update: 2022-08-29 11:38    [W:0.216 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site