[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202301060232.as4pxv62-lkp@intel.com>
Date: Fri, 6 Jan 2023 02:08:12 +0800
From: kernel test robot <lkp@...el.com>
To: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Stephen Boyd <sboyd@...nel.org>
Subject: drivers/clk/clk-asm9260.c:258:24: warning: variable 'hw' set but not
used
Hi Dmitry,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 41c03ba9beea760bd2d2ac9250b09a2e192da2dc
commit: f5290d8e4f0caa81a491448a27dd70e726095d07 clk: asm9260: use parent index to link the reference clock
date: 3 months ago
config: arm-randconfig-r036-20230105
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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f5290d8e4f0caa81a491448a27dd70e726095d07
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout f5290d8e4f0caa81a491448a27dd70e726095d07
# 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 drivers/clk/
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/clk-asm9260.c: In function 'asm9260_acc_init':
>> drivers/clk/clk-asm9260.c:258:24: warning: variable 'hw' set but not used [-Wunused-but-set-variable]
258 | struct clk_hw *hw, *pll_hw;
| ^~
vim +/hw +258 drivers/clk/clk-asm9260.c
255
256 static void __init asm9260_acc_init(struct device_node *np)
257 {
> 258 struct clk_hw *hw, *pll_hw;
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
View attachment "config" of type "text/plain" (173765 bytes)
Powered by blists - more mailing lists