[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202305131327.hT8CxYAe-lkp@intel.com>
Date: Sat, 13 May 2023 13:39:07 +0800
From: kernel test robot <lkp@...el.com>
To: Rohit Agarwal <quic_rohiagar@...cinc.com>, agross@...nel.org,
andersson@...nel.org, konrad.dybcio@...aro.org,
linus.walleij@...aro.org, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, richardcochran@...il.com,
manivannan.sadhasivam@...aro.org, andy.shevchenko@...il.com
Cc: oe-kbuild-all@...ts.linux.dev, linux-arm-msm@...r.kernel.org,
linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
Rohit Agarwal <quic_rohiagar@...cinc.com>
Subject: Re: [PATCH 2/2] pinctrl: qcom: Refactor generic qcom pinctrl driver
Hi Rohit,
kernel test robot noticed the following build errors:
[auto build test ERROR on linusw-pinctrl/devel]
[also build test ERROR on linusw-pinctrl/for-next linus/master v6.4-rc1 next-20230512]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Rohit-Agarwal/pinctrl-qcom-Remove-the-msm_function-struct/20230512-195910
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
patch link: https://lore.kernel.org/r/1683892553-19882-3-git-send-email-quic_rohiagar%40quicinc.com
patch subject: [PATCH 2/2] pinctrl: qcom: Refactor generic qcom pinctrl driver
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20230513/202305131327.hT8CxYAe-lkp@intel.com/config)
compiler: arm-linux-gnueabi-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/intel-lab-lkp/linux/commit/1894575a5b0f681fb8697a05ac2aa68ef97e48e8
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Rohit-Agarwal/pinctrl-qcom-Remove-the-msm_function-struct/20230512-195910
git checkout 1894575a5b0f681fb8697a05ac2aa68ef97e48e8
# 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=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305131327.hT8CxYAe-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/pinctrl/qcom/pinctrl-sm7150.c:969:34: error: array type has incomplete element type 'struct msm_function'
969 | static const struct msm_function sm7150_functions[] = {
| ^~~~~~~~~~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name'
37 | .name = "gpio" #id, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP'
1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins'
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP'
1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP'
1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins'
39 | .npins = ARRAY_SIZE(gpio##id##_pins), \
| ^~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP'
1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init]
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP'
1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[0].funcs')
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP'
1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init]
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP'
1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[0].nfuncs')
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1089:15: note: in expansion of macro 'PINGROUP'
1089 | [0] = PINGROUP(0, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name'
37 | .name = "gpio" #id, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP'
1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins'
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP'
1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP'
1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins'
39 | .npins = ARRAY_SIZE(gpio##id##_pins), \
| ^~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP'
1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init]
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP'
1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[1].funcs')
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP'
1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init]
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP'
1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[1].nfuncs')
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1090:15: note: in expansion of macro 'PINGROUP'
1090 | [1] = PINGROUP(1, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name'
37 | .name = "gpio" #id, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP'
1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins'
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP'
1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP'
1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins'
39 | .npins = ARRAY_SIZE(gpio##id##_pins), \
| ^~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP'
1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init]
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP'
1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[2].funcs')
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP'
1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init]
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP'
1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[2].nfuncs')
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1091:15: note: in expansion of macro 'PINGROUP'
1091 | [2] = PINGROUP(2, SOUTH, qup01, _, phase_flag, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name'
37 | .name = "gpio" #id, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP'
1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins'
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP'
1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP'
1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins'
39 | .npins = ARRAY_SIZE(gpio##id##_pins), \
| ^~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP'
1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init]
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP'
1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[3].funcs')
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP'
1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init]
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP'
1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[3].nfuncs')
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1092:15: note: in expansion of macro 'PINGROUP'
1092 | [3] = PINGROUP(3, SOUTH, qup01, dbg_out, _, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name'
37 | .name = "gpio" #id, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP'
1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins'
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP'
1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP'
1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins'
39 | .npins = ARRAY_SIZE(gpio##id##_pins), \
| ^~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP'
1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init]
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP'
1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[4].funcs')
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP'
1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init]
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP'
1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[4].nfuncs')
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1093:15: note: in expansion of macro 'PINGROUP'
1093 | [4] = PINGROUP(4, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name'
37 | .name = "gpio" #id, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP'
1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins'
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP'
1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP'
1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins'
39 | .npins = ARRAY_SIZE(gpio##id##_pins), \
| ^~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP'
1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init]
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP'
1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[5].funcs')
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP'
1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init]
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP'
1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[5].nfuncs')
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1094:15: note: in expansion of macro 'PINGROUP'
1094 | [5] = PINGROUP(5, NORTH, _, qdss_cti, _, _, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name'
37 | .name = "gpio" #id, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP'
1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _),
| ^~~~~~~~
>> drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins'
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP'
1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP'
1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins'
39 | .npins = ARRAY_SIZE(gpio##id##_pins), \
| ^~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP'
1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init]
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP'
1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[6].funcs')
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP'
1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init]
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP'
1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[6].nfuncs')
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1095:15: note: in expansion of macro 'PINGROUP'
1095 | [6] = PINGROUP(6, NORTH, qup11, _, phase_flag, ddr_pxi0, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name'
37 | .name = "gpio" #id, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP'
1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins'
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP'
1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:38:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP'
1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:39:18: error: 'const struct msm_pingroup' has no member named 'npins'
39 | .npins = ARRAY_SIZE(gpio##id##_pins), \
| ^~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP'
1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: warning: initialized field overwritten [-Woverride-init]
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP'
1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:40:26: note: (near initialization for 'sm7150_groups[7].funcs')
40 | .funcs = (int[]){ \
| ^
drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP'
1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: warning: initialized field overwritten [-Woverride-init]
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP'
1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:52:27: note: (near initialization for 'sm7150_groups[7].nfuncs')
52 | .nfuncs = 10, \
| ^~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1096:15: note: in expansion of macro 'PINGROUP'
1096 | [7] = PINGROUP(7, NORTH, qup11, ddr_bist, _, phase_flag, atest_tsens2, vsense_trigger, atest_usb1, ddr_pxi0, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:37:18: error: 'const struct msm_pingroup' has no member named 'name'
37 | .name = "gpio" #id, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1097:15: note: in expansion of macro 'PINGROUP'
1097 | [8] = PINGROUP(8, NORTH, qup11, gp_pdm1, ddr_bist, _, _, _, _, _, _),
| ^~~~~~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:38:18: error: 'const struct msm_pingroup' has no member named 'pins'
38 | .pins = gpio##id##_pins, \
| ^~~~
drivers/pinctrl/qcom/pinctrl-sm7150.c:1097:15: note: in expansion of macro 'PINGROUP'
1097 | [8] = PINGROUP(8, NORTH, qup11, gp_pdm1, ddr_bist, _, _, _, _, _, _),
vim +37 drivers/pinctrl/qcom/pinctrl-sm7150.c
b915395c9e0436 Danila Tikhonov 2023-03-12 34
b915395c9e0436 Danila Tikhonov 2023-03-12 35 #define PINGROUP(id, _tile, f1, f2, f3, f4, f5, f6, f7, f8, f9) \
b915395c9e0436 Danila Tikhonov 2023-03-12 36 { \
b915395c9e0436 Danila Tikhonov 2023-03-12 @37 .name = "gpio" #id, \
b915395c9e0436 Danila Tikhonov 2023-03-12 @38 .pins = gpio##id##_pins, \
b915395c9e0436 Danila Tikhonov 2023-03-12 @39 .npins = ARRAY_SIZE(gpio##id##_pins), \
b915395c9e0436 Danila Tikhonov 2023-03-12 40 .funcs = (int[]){ \
b915395c9e0436 Danila Tikhonov 2023-03-12 41 msm_mux_gpio, /* gpio mode */ \
b915395c9e0436 Danila Tikhonov 2023-03-12 42 msm_mux_##f1, \
b915395c9e0436 Danila Tikhonov 2023-03-12 43 msm_mux_##f2, \
b915395c9e0436 Danila Tikhonov 2023-03-12 44 msm_mux_##f3, \
b915395c9e0436 Danila Tikhonov 2023-03-12 45 msm_mux_##f4, \
b915395c9e0436 Danila Tikhonov 2023-03-12 46 msm_mux_##f5, \
b915395c9e0436 Danila Tikhonov 2023-03-12 47 msm_mux_##f6, \
b915395c9e0436 Danila Tikhonov 2023-03-12 48 msm_mux_##f7, \
b915395c9e0436 Danila Tikhonov 2023-03-12 49 msm_mux_##f8, \
b915395c9e0436 Danila Tikhonov 2023-03-12 50 msm_mux_##f9 \
b915395c9e0436 Danila Tikhonov 2023-03-12 51 }, \
b915395c9e0436 Danila Tikhonov 2023-03-12 52 .nfuncs = 10, \
b915395c9e0436 Danila Tikhonov 2023-03-12 53 .ctl_reg = REG_SIZE * id, \
b915395c9e0436 Danila Tikhonov 2023-03-12 54 .io_reg = 0x4 + REG_SIZE * id, \
b915395c9e0436 Danila Tikhonov 2023-03-12 55 .intr_cfg_reg = 0x8 + REG_SIZE * id, \
b915395c9e0436 Danila Tikhonov 2023-03-12 56 .intr_status_reg = 0xc + REG_SIZE * id, \
b915395c9e0436 Danila Tikhonov 2023-03-12 57 .intr_target_reg = 0x8 + REG_SIZE * id, \
b915395c9e0436 Danila Tikhonov 2023-03-12 58 .tile = _tile, \
b915395c9e0436 Danila Tikhonov 2023-03-12 59 .mux_bit = 2, \
b915395c9e0436 Danila Tikhonov 2023-03-12 60 .pull_bit = 0, \
b915395c9e0436 Danila Tikhonov 2023-03-12 61 .drv_bit = 6, \
b915395c9e0436 Danila Tikhonov 2023-03-12 62 .oe_bit = 9, \
b915395c9e0436 Danila Tikhonov 2023-03-12 63 .in_bit = 0, \
b915395c9e0436 Danila Tikhonov 2023-03-12 64 .out_bit = 1, \
b915395c9e0436 Danila Tikhonov 2023-03-12 65 .intr_enable_bit = 0, \
b915395c9e0436 Danila Tikhonov 2023-03-12 66 .intr_status_bit = 0, \
b915395c9e0436 Danila Tikhonov 2023-03-12 67 .intr_target_bit = 5, \
b915395c9e0436 Danila Tikhonov 2023-03-12 68 .intr_target_kpss_val = 3, \
b915395c9e0436 Danila Tikhonov 2023-03-12 69 .intr_raw_status_bit = 4, \
b915395c9e0436 Danila Tikhonov 2023-03-12 70 .intr_polarity_bit = 1, \
b915395c9e0436 Danila Tikhonov 2023-03-12 71 .intr_detection_bit = 2, \
b915395c9e0436 Danila Tikhonov 2023-03-12 72 .intr_detection_width = 2, \
b915395c9e0436 Danila Tikhonov 2023-03-12 73 }
b915395c9e0436 Danila Tikhonov 2023-03-12 74
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
Powered by blists - more mailing lists