* [linux-next:master 7127/7934] drivers/clk/rockchip/clk-rv1126.c:178:7: warning: unused variable 'mux_cpll_hpll_gpll_p'
@ 2022-09-19 14:37 kernel test robot
2022-09-23 13:36 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-09-19 14:37 UTC (permalink / raw)
To: Jagan Teki
Cc: llvm, kbuild-all, Linux Memory Management List, Heiko Stuebner,
Finley Xiao
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 4c9ca5b1597e3222177ba2a94658f78fa5ef4f58
commit: 7f2f620daa88e72b04efd2f3da84abea0b5ca1c7 [7127/7934] clk: rockchip: Add clock controller support for RV1126 SoC
config: arm-defconfig (https://download.01.org/0day-ci/archive/20220919/202209192243.d80zUWVW-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=7f2f620daa88e72b04efd2f3da84abea0b5ca1c7
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 7f2f620daa88e72b04efd2f3da84abea0b5ca1c7
# 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=arm SHELL=/bin/bash drivers/clk/rockchip/ drivers/irqchip/ drivers/net/wireless/ralink/rt2x00/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/clk/rockchip/clk-rv1126.c:178:7: warning: unused variable 'mux_cpll_hpll_gpll_p' [-Wunused-const-variable]
PNAME(mux_cpll_hpll_gpll_p) = { "cpll", "hpll", "gpll" };
^
>> drivers/clk/rockchip/clk-rv1126.c:179:7: warning: unused variable 'mux_cpll_gpll_hpll_p' [-Wunused-const-variable]
PNAME(mux_cpll_gpll_hpll_p) = { "cpll", "gpll", "hpll" };
^
>> drivers/clk/rockchip/clk-rv1126.c:180:7: warning: unused variable 'mux_dclk_vop_p' [-Wunused-const-variable]
PNAME(mux_dclk_vop_p) = { "dclk_vop_div", "dclk_vop_fracdiv", "xin24m" };
^
>> drivers/clk/rockchip/clk-rv1126.c:181:7: warning: unused variable 'mux_aclk_pdvi_p' [-Wunused-const-variable]
PNAME(mux_aclk_pdvi_p) = { "aclk_pdvi_div", "aclk_pdvi_np5" };
^
>> drivers/clk/rockchip/clk-rv1126.c:182:7: warning: unused variable 'mux_gpll_cpll_hpll_p' [-Wunused-const-variable]
PNAME(mux_gpll_cpll_hpll_p) = { "gpll", "cpll", "hpll" };
^
>> drivers/clk/rockchip/clk-rv1126.c:183:7: warning: unused variable 'mux_clk_isp_p' [-Wunused-const-variable]
PNAME(mux_clk_isp_p) = { "clk_isp_div", "clk_isp_np5" };
^
>> drivers/clk/rockchip/clk-rv1126.c:184:7: warning: unused variable 'mux_gpll_usb480m_p' [-Wunused-const-variable]
PNAME(mux_gpll_usb480m_p) = { "gpll", "usb480m" };
^
>> drivers/clk/rockchip/clk-rv1126.c:185:7: warning: unused variable 'mux_cif_out2io_p' [-Wunused-const-variable]
PNAME(mux_cif_out2io_p) = { "xin24m", "clk_cif_out2io_div", "clk_cif_out2io_fracdiv" };
^
>> drivers/clk/rockchip/clk-rv1126.c:186:7: warning: unused variable 'mux_mipicsi_out2io_p' [-Wunused-const-variable]
PNAME(mux_mipicsi_out2io_p) = { "xin24m", "clk_mipicsi_out2io_div", "clk_mipicsi_out2io_fracdiv" };
^
>> drivers/clk/rockchip/clk-rv1126.c:187:7: warning: unused variable 'mux_aclk_pdispp_p' [-Wunused-const-variable]
PNAME(mux_aclk_pdispp_p) = { "aclk_pdispp_div", "aclk_pdispp_npu" };
^
>> drivers/clk/rockchip/clk-rv1126.c:188:7: warning: unused variable 'mux_clk_ispp_p' [-Wunused-const-variable]
PNAME(mux_clk_ispp_p) = { "clk_ispp_div", "clk_ispp_npu" };
^
>> drivers/clk/rockchip/clk-rv1126.c:197:7: warning: unused variable 'mux_gpll_cpll_apll_hpll_p' [-Wunused-const-variable]
PNAME(mux_gpll_cpll_apll_hpll_p) = { "gpll", "cpll", "dummy_apll", "hpll" };
^
>> drivers/clk/rockchip/clk-rv1126.c:198:7: warning: unused variable 'mux_aclk_pdnpu_p' [-Wunused-const-variable]
PNAME(mux_aclk_pdnpu_p) = { "aclk_pdnpu_div", "aclk_pdnpu_np5" };
^
>> drivers/clk/rockchip/clk-rv1126.c:199:7: warning: unused variable 'mux_clk_npu_p' [-Wunused-const-variable]
PNAME(mux_clk_npu_p) = { "clk_npu_div", "clk_npu_np5" };
^
14 warnings generated.
vim +/mux_cpll_hpll_gpll_p +178 drivers/clk/rockchip/clk-rv1126.c
144
145 PNAME(mux_pll_p) = { "xin24m" };
146 PNAME(mux_rtc32k_p) = { "clk_pmupvtm_divout", "xin32k", "clk_osc0_div32k" };
147 PNAME(mux_wifi_p) = { "clk_wifi_osc0", "clk_wifi_div" };
148 PNAME(mux_gpll_usb480m_cpll_xin24m_p) = { "gpll", "usb480m", "cpll", "xin24m" };
149 PNAME(mux_uart1_p) = { "sclk_uart1_div", "sclk_uart1_fracdiv", "xin24m" };
150 PNAME(mux_xin24m_gpll_p) = { "xin24m", "gpll" };
151 PNAME(mux_gpll_xin24m_p) = { "gpll", "xin24m" };
152 PNAME(mux_xin24m_32k_p) = { "xin24m", "clk_rtc32k" };
153 PNAME(mux_usbphy_otg_ref_p) = { "clk_ref12m", "xin_osc0_div2_usbphyref_otg" };
154 PNAME(mux_usbphy_host_ref_p) = { "clk_ref12m", "xin_osc0_div2_usbphyref_host" };
155 PNAME(mux_mipidsiphy_ref_p) = { "clk_ref24m", "xin_osc0_mipiphyref" };
156 PNAME(mux_usb480m_p) = { "xin24m", "usb480m_phy", "clk_rtc32k" };
157 PNAME(mux_armclk_p) = { "gpll", "cpll", "apll" };
158 PNAME(mux_gpll_cpll_dpll_p) = { "gpll", "cpll", "dummy_dpll" };
159 PNAME(mux_gpll_cpll_p) = { "gpll", "cpll" };
160 PNAME(mux_hclk_pclk_pdbus_p) = { "gpll", "dummy_cpll" };
161 PNAME(mux_gpll_cpll_usb480m_xin24m_p) = { "gpll", "cpll", "usb480m", "xin24m" };
162 PNAME(mux_uart0_p) = { "sclk_uart0_div", "sclk_uart0_frac", "xin24m" };
163 PNAME(mux_uart2_p) = { "sclk_uart2_div", "sclk_uart2_frac", "xin24m" };
164 PNAME(mux_uart3_p) = { "sclk_uart3_div", "sclk_uart3_frac", "xin24m" };
165 PNAME(mux_uart4_p) = { "sclk_uart4_div", "sclk_uart4_frac", "xin24m" };
166 PNAME(mux_uart5_p) = { "sclk_uart5_div", "sclk_uart5_frac", "xin24m" };
167 PNAME(mux_cpll_gpll_p) = { "cpll", "gpll" };
168 PNAME(mux_i2s0_tx_p) = { "mclk_i2s0_tx_div", "mclk_i2s0_tx_fracdiv", "i2s0_mclkin", "xin12m" };
169 PNAME(mux_i2s0_rx_p) = { "mclk_i2s0_rx_div", "mclk_i2s0_rx_fracdiv", "i2s0_mclkin", "xin12m" };
170 PNAME(mux_i2s0_tx_out2io_p) = { "mclk_i2s0_tx", "xin12m" };
171 PNAME(mux_i2s0_rx_out2io_p) = { "mclk_i2s0_rx", "xin12m" };
172 PNAME(mux_i2s1_p) = { "mclk_i2s1_div", "mclk_i2s1_fracdiv", "i2s1_mclkin", "xin12m" };
173 PNAME(mux_i2s1_out2io_p) = { "mclk_i2s1", "xin12m" };
174 PNAME(mux_i2s2_p) = { "mclk_i2s2_div", "mclk_i2s2_fracdiv", "i2s2_mclkin", "xin12m" };
175 PNAME(mux_i2s2_out2io_p) = { "mclk_i2s2", "xin12m" };
176 PNAME(mux_gpll_cpll_xin24m_p) = { "gpll", "cpll", "xin24m" };
177 PNAME(mux_audpwm_p) = { "sclk_audpwm_div", "sclk_audpwm_fracdiv", "xin24m" };
> 178 PNAME(mux_cpll_hpll_gpll_p) = { "cpll", "hpll", "gpll" };
> 179 PNAME(mux_cpll_gpll_hpll_p) = { "cpll", "gpll", "hpll" };
> 180 PNAME(mux_dclk_vop_p) = { "dclk_vop_div", "dclk_vop_fracdiv", "xin24m" };
> 181 PNAME(mux_aclk_pdvi_p) = { "aclk_pdvi_div", "aclk_pdvi_np5" };
> 182 PNAME(mux_gpll_cpll_hpll_p) = { "gpll", "cpll", "hpll" };
> 183 PNAME(mux_clk_isp_p) = { "clk_isp_div", "clk_isp_np5" };
> 184 PNAME(mux_gpll_usb480m_p) = { "gpll", "usb480m" };
> 185 PNAME(mux_cif_out2io_p) = { "xin24m", "clk_cif_out2io_div", "clk_cif_out2io_fracdiv" };
> 186 PNAME(mux_mipicsi_out2io_p) = { "xin24m", "clk_mipicsi_out2io_div", "clk_mipicsi_out2io_fracdiv" };
> 187 PNAME(mux_aclk_pdispp_p) = { "aclk_pdispp_div", "aclk_pdispp_npu" };
> 188 PNAME(mux_clk_ispp_p) = { "clk_ispp_div", "clk_ispp_npu" };
189 PNAME(mux_usb480m_gpll_p) = { "usb480m", "gpll" };
190 PNAME(clk_gmac_src_m0_p) = { "clk_gmac_div", "clk_gmac_rgmii_m0" };
191 PNAME(clk_gmac_src_m1_p) = { "clk_gmac_div", "clk_gmac_rgmii_m1" };
192 PNAME(mux_clk_gmac_src_p) = { "clk_gmac_src_m0", "clk_gmac_src_m1" };
193 PNAME(mux_rgmii_clk_p) = { "clk_gmac_tx_div50", "clk_gmac_tx_div5", "clk_gmac_tx_src", "clk_gmac_tx_src"};
194 PNAME(mux_rmii_clk_p) = { "clk_gmac_rx_div20", "clk_gmac_rx_div2" };
195 PNAME(mux_gmac_tx_rx_p) = { "rgmii_mode_clk", "rmii_mode_clk" };
196 PNAME(mux_dpll_gpll_p) = { "dpll", "gpll" };
> 197 PNAME(mux_gpll_cpll_apll_hpll_p) = { "gpll", "cpll", "dummy_apll", "hpll" };
> 198 PNAME(mux_aclk_pdnpu_p) = { "aclk_pdnpu_div", "aclk_pdnpu_np5" };
> 199 PNAME(mux_clk_npu_p) = { "clk_npu_div", "clk_npu_np5" };
200
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-next:master 7127/7934] drivers/clk/rockchip/clk-rv1126.c:178:7: warning: unused variable 'mux_cpll_hpll_gpll_p'
2022-09-19 14:37 [linux-next:master 7127/7934] drivers/clk/rockchip/clk-rv1126.c:178:7: warning: unused variable 'mux_cpll_hpll_gpll_p' kernel test robot
@ 2022-09-23 13:36 ` Heiko Stuebner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2022-09-23 13:36 UTC (permalink / raw)
To: Jagan Teki, kernel test robot
Cc: llvm, kbuild-all, Linux Memory Management List, Finley Xiao
Am Montag, 19. September 2022, 16:37:25 CEST schrieb kernel test robot:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 4c9ca5b1597e3222177ba2a94658f78fa5ef4f58
> commit: 7f2f620daa88e72b04efd2f3da84abea0b5ca1c7 [7127/7934] clk: rockchip: Add clock controller support for RV1126 SoC
> config: arm-defconfig (https://download.01.org/0day-ci/archive/20220919/202209192243.d80zUWVW-lkp@intel.com/config)
> compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
> 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
> # install arm cross compiling tool for clang build
> # apt-get install binutils-arm-linux-gnueabi
> # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=7f2f620daa88e72b04efd2f3da84abea0b5ca1c7
> git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> git fetch --no-tags linux-next master
> git checkout 7f2f620daa88e72b04efd2f3da84abea0b5ca1c7
> # 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=arm SHELL=/bin/bash drivers/clk/rockchip/ drivers/irqchip/ drivers/net/wireless/ralink/rt2x00/
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>):
I've dropped the relevant unused definitions now.
If they come up later again, someone can re-add them.
Heiko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-23 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-19 14:37 [linux-next:master 7127/7934] drivers/clk/rockchip/clk-rv1126.c:178:7: warning: unused variable 'mux_cpll_hpll_gpll_p' kernel test robot
2022-09-23 13:36 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).