[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202301181925.jNUBtSnM-lkp@intel.com>
Date: Wed, 18 Jan 2023 19:59:43 +0800
From: kernel test robot <lkp@...el.com>
To: Samuel Holland <samuel@...lland.org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, Maxime Ripard <maxime@...no.tech>
Subject: drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c:30:18: warning:
unused function 'hdmi_read'
Hi Samuel,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c1649ec55708ae42091a2f1bca1ab49ecd722d55
commit: 7d57f7f7975634a7a6c5b5adcfe70450426a830b drm/sun4i: Allow building the driver on RISC-V
date: 9 months ago
config: mips-randconfig-r022-20230118
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 mips cross compiling tool for clang build
# apt-get install binutils-mipsel-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7d57f7f7975634a7a6c5b5adcfe70450426a830b
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 7d57f7f7975634a7a6c5b5adcfe70450426a830b
# 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=mips olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/gpu/drm/bridge/synopsys/ kernel/trace/ lib/
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/bridge/synopsys/dw-hdmi-i2s-audio.c:30:18: warning: unused function 'hdmi_read' [-Wunused-function]
static inline u8 hdmi_read(struct dw_hdmi_i2s_audio_data *audio, int offset)
^
1 warning generated.
vim +/hdmi_read +30 drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c
2761ba6c0925ca drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08 29
2761ba6c0925ca drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08 @30 static inline u8 hdmi_read(struct dw_hdmi_i2s_audio_data *audio, int offset)
2761ba6c0925ca drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08 31 {
2761ba6c0925ca drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08 32 struct dw_hdmi *hdmi = audio->hdmi;
2761ba6c0925ca drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08 33
2761ba6c0925ca drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08 34 return audio->read(hdmi, offset);
2761ba6c0925ca drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08 35 }
2761ba6c0925ca drivers/gpu/drm/bridge/dw-hdmi-i2s-audio.c Kuninori Morimoto 2016-11-08 36
:::::: The code at line 30 was first introduced by commit
:::::: 2761ba6c0925ca9c5b917a95f68135d9dce443fb drm: bridge: add DesignWare HDMI I2S audio support
:::::: TO: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
:::::: CC: Archit Taneja <architt@...eaurora.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
View attachment "config" of type "text/plain" (156353 bytes)
Powered by blists - more mailing lists