[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202301182053.u5GGxLuQ-lkp@intel.com>
Date: Wed, 18 Jan 2023 20:09:50 +0800
From: kernel test robot <lkp@...el.com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, Heiko Stuebner <heiko@...ech.de>
Subject: drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c:362:19: warning:
unused function 'dsi_read'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c1649ec55708ae42091a2f1bca1ab49ecd722d55
commit: 3daf391fee830f2343cc6b1ba131b1b5115dea1f drm/rockchip: dsi: Remove the unused function dsi_update_bits()
date: 3 months ago
config: arm64-randconfig-r036-20230116
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 4196ca3278f78c6e19246e54ab0ecb364e37d66a)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3daf391fee830f2343cc6b1ba131b1b5115dea1f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 3daf391fee830f2343cc6b1ba131b1b5115dea1f
# 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=arm64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/drm/rockchip/
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/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c:362:19: warning: unused function 'dsi_read' [-Wunused-function]
static inline u32 dsi_read(struct dw_mipi_dsi_rockchip *dsi, u32 reg)
^
1 warning generated.
vim +/dsi_read +362 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c
2d4f7bdafd709a Nickey Yang 2018-10-01 361
2d4f7bdafd709a Nickey Yang 2018-10-01 @362 static inline u32 dsi_read(struct dw_mipi_dsi_rockchip *dsi, u32 reg)
2d4f7bdafd709a Nickey Yang 2018-10-01 363 {
2d4f7bdafd709a Nickey Yang 2018-10-01 364 return readl(dsi->base + reg);
2d4f7bdafd709a Nickey Yang 2018-10-01 365 }
2d4f7bdafd709a Nickey Yang 2018-10-01 366
:::::: The code at line 362 was first introduced by commit
:::::: 2d4f7bdafd709a5cf38f42358bd4c31c621a3e1b drm/rockchip: dsi: migrate to use dw-mipi-dsi bridge driver
:::::: TO: Nickey Yang <nickey.yang@...k-chips.com>
:::::: CC: Andrzej Hajda <a.hajda@...sung.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
View attachment "config" of type "text/plain" (184809 bytes)
Powered by blists - more mailing lists