[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210242332.Et17vsng-lkp@intel.com>
Date: Mon, 24 Oct 2022 23:30:58 +0800
From: kernel test robot <lkp@...el.com>
To: Dinh Nguyen <dinguyen@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [dinguyen:upstream_arm64_mmc_drvsel_smpsel_v5 5/7]
drivers/clk/socfpga/clk-gate.c:121:6: warning: unused variable 'clk_phase'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git upstream_arm64_mmc_drvsel_smpsel_v5
head: e558eb751bf05e3fcf5fe744943b91fa70beea31
commit: d65ae6525d575bd9c449cab4b7e9c7591d020a3d [5/7] clk: socfpga: remove the setting of clk-phase for sdmmc_clk
config: x86_64-buildonly-randconfig-r006-20221024
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git/commit/?id=d65ae6525d575bd9c449cab4b7e9c7591d020a3d
git remote add dinguyen https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git
git fetch --no-tags dinguyen upstream_arm64_mmc_drvsel_smpsel_v5
git checkout d65ae6525d575bd9c449cab4b7e9c7591d020a3d
# 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=x86_64 SHELL=/bin/bash drivers/clk/socfpga/ drivers/virt/coco/sev-guest/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/clk/socfpga/clk-gate.c:121:6: warning: unused variable 'clk_phase' [-Wunused-variable]
u32 clk_phase[2];
^
1 warning generated.
vim +/clk_phase +121 drivers/clk/socfpga/clk-gate.c
97259e99bdc914 Steffen Trumtrar 2014-01-06 116
a30a67be7b6e11 Stephen Boyd 2018-12-04 117 void __init socfpga_gate_init(struct device_node *node)
97259e99bdc914 Steffen Trumtrar 2014-01-06 118 {
97259e99bdc914 Steffen Trumtrar 2014-01-06 119 u32 clk_gate[2];
97259e99bdc914 Steffen Trumtrar 2014-01-06 120 u32 div_reg[3];
044abbde7bef27 Dinh Nguyen 2014-01-06 @121 u32 clk_phase[2];
:::::: The code at line 121 was first introduced by commit
:::::: 044abbde7bef2726489b5e11ec3fcdc012a4de4a clk: socfpga: Add a clk-phase property to the "altr,socfpga-gate-clk"
:::::: TO: Dinh Nguyen <dinguyen@...era.com>
:::::: CC: Mike Turquette <mturquette@...aro.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (191992 bytes)
Powered by blists - more mailing lists