Re: [PATCH v3 3/6] clk: qcom: Add SDX65 GCC support
From: kernel test robot
Date: Mon Nov 08 2021 - 09:30:37 EST
Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on clk/clk-next]
[also build test ERROR on robh/for-next tip/irq/core v5.15 next-20211108]
[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]
url: https://github.com/0day-ci/linux/commits/quic_vamslank-quicinc-com/Add-Pdc-GCC-and-RPMh-clock-support-for-SDX65/20211030-080125
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: openrisc-buildonly-randconfig-r003-20211031 (attached as .config)
compiler: or1k-linux-gcc (GCC) 11.2.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/0day-ci/linux/commit/8326e7436c674aa934aa91444cb9f201b37a8da1
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review quic_vamslank-quicinc-com/Add-Pdc-GCC-and-RPMh-clock-support-for-SDX65/20211030-080125
git checkout 8326e7436c674aa934aa91444cb9f201b37a8da1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=openrisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
>> drivers/clk/qcom/gcc-sdx65.c:94:37: error: 'gcc_parent_data_1' defined but not used [-Werror=unused-const-variable=]
94 | static const struct clk_parent_data gcc_parent_data_1[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-sdx65.c:90:32: error: 'gcc_parent_map_1' defined but not used [-Werror=unused-const-variable=]
90 | static const struct parent_map gcc_parent_map_1[] = {
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/gcc_parent_data_1 +94 drivers/clk/qcom/gcc-sdx65.c
89
> 90 static const struct parent_map gcc_parent_map_1[] = {
91 { P_BI_TCXO, 0 },
92 };
93
> 94 static const struct clk_parent_data gcc_parent_data_1[] = {
95 { .fw_name = "bi_tcxo" },
96 };
97
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip